{"action":"created","issue":{"url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/536","repository_url":"https://api.github.com/repos/benmosher/eslint-plugin-import","labels_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/536/labels{/name}","comments_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/536/comments","events_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/536/events","html_url":"https://github.com/benmosher/eslint-plugin-import/issues/536","id":173962436,"number":536,"title":"eslint-import-resolver-webpack swallows errors in webpack.config.js","user":{"login":"leoselig","id":3418034,"avatar_url":"https://avatars.githubusercontent.com/u/3418034?v=3","gravatar_id":"","url":"https://api.github.com/users/leoselig","html_url":"https://github.com/leoselig","followers_url":"https://api.github.com/users/leoselig/followers","following_url":"https://api.github.com/users/leoselig/following{/other_user}","gists_url":"https://api.github.com/users/leoselig/gists{/gist_id}","starred_url":"https://api.github.com/users/leoselig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoselig/subscriptions","organizations_url":"https://api.github.com/users/leoselig/orgs","repos_url":"https://api.github.com/users/leoselig/repos","events_url":"https://api.github.com/users/leoselig/events{/privacy}","received_events_url":"https://api.github.com/users/leoselig/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/benmosher/eslint-plugin-import/labels/accepted","name":"accepted","color":"bfe5bf"},{"url":"https://api.github.com/repos/benmosher/eslint-plugin-import/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/benmosher/eslint-plugin-import/labels/help/PR%20wanted","name":"help/PR wanted","color":"159818"},{"url":"https://api.github.com/repos/benmosher/eslint-plugin-import/labels/resolver","name":"resolver","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-30T08:45:38Z","updated_at":"2016-08-31T09:17:11Z","closed_at":null,"body":"I was seeing the following error for each of my checked files:\r\n```1:0   error  Resolve error: Unexpected token import```\r\n\r\nI was trying to understand why (correct plugin configuration, babel and webpack setup correctly) for about 1h until I realized, that I forgot to start `eslint` with `babel-node` and my `webpack.config.js` was written in babel ES6+ code. Obviosly, it was starting with\r\n```import path from 'path';```\r\nwhich seems to have produced said errors.\r\n\r\nI think instead `eslint-import-resolver-webpack` should error when trying to read the webpack configuration, similar to as it does, when `settings.import/resolver.webpack` cannot be resolved."},"comment":{"url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/comments/243706654","html_url":"https://github.com/benmosher/eslint-plugin-import/issues/536#issuecomment-243706654","issue_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/536","id":243706654,"user":{"login":"leoselig","id":3418034,"avatar_url":"https://avatars.githubusercontent.com/u/3418034?v=3","gravatar_id":"","url":"https://api.github.com/users/leoselig","html_url":"https://github.com/leoselig","followers_url":"https://api.github.com/users/leoselig/followers","following_url":"https://api.github.com/users/leoselig/following{/other_user}","gists_url":"https://api.github.com/users/leoselig/gists{/gist_id}","starred_url":"https://api.github.com/users/leoselig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoselig/subscriptions","organizations_url":"https://api.github.com/users/leoselig/orgs","repos_url":"https://api.github.com/users/leoselig/repos","events_url":"https://api.github.com/users/leoselig/events{/privacy}","received_events_url":"https://api.github.com/users/leoselig/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T09:17:11Z","updated_at":"2016-08-31T09:17:11Z","body":"That would decrease the setup pain even more! 👍 \r\nIf I find some time I'll try to put together a PR, but no guarantees 😅 "}}
{"actor":{"display_login":"leoselig"}}