{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/602","repository_url":"https://api.github.com/repos/AtomLinter/linter-eslint","labels_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/602/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/602/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/602/events","html_url":"https://github.com/AtomLinter/linter-eslint/issues/602","id":159563048,"number":602,"title":"import/no-unresolved - False Positive","user":{"login":"cusxio","id":6487613,"avatar_url":"https://avatars.githubusercontent.com/u/6487613?v=3","gravatar_id":"","url":"https://api.github.com/users/cusxio","html_url":"https://github.com/cusxio","followers_url":"https://api.github.com/users/cusxio/followers","following_url":"https://api.github.com/users/cusxio/following{/other_user}","gists_url":"https://api.github.com/users/cusxio/gists{/gist_id}","starred_url":"https://api.github.com/users/cusxio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cusxio/subscriptions","organizations_url":"https://api.github.com/users/cusxio/orgs","repos_url":"https://api.github.com/users/cusxio/repos","events_url":"https://api.github.com/users/cusxio/events{/privacy}","received_events_url":"https://api.github.com/users/cusxio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-10T05:44:32Z","updated_at":"2016-06-14T01:51:12Z","closed_at":null,"body":"![image](https://cloud.githubusercontent.com/assets/6487613/15955021/3a226c9c-2f10-11e6-900f-97d4a083be47.png)\r\n\r\nIt seems that there are problems when `linter-eslint` is trying to resolve modules. I'm not too sure how to debug this. When I run eslint in the terminal, the modules are able to resolve correctly.\r\n\r\n```bash\r\n$ DEBUG=eslint:cli-engine ./node_modules/.bin/eslint .\r\n```\r\n\r\n**Output**\r\n```bash\r\n/Users/cusx/Documents/dev/test/hello.js\r\n  4:1  warning  Unexpected console statement  no-console\r\n  5:1  warning  Unexpected console statement  no-console\r\n\r\n✖ 2 problems (0 errors, 2 warnings)\r\n```\r\n\r\nRunning on Atom 1.8.0 with Linter-Eslint 7.2.2\r\n\r\n**Folder Structure**\r\n```bash\r\n├── .eslintrc.yml\r\n├── goodbye.js\r\n├── hello.js\r\n├── node_modules\r\n└── package.json\r\n```\r\n\r\n**.eslintrc.yml**\r\n```yaml\r\nextends: airbnb\r\ninstalledESLint: true\r\nplugins:\r\n  - react\r\n```\r\n\r\n**goodbye.js**\r\n```js\r\nexport default 'goodbye';\r\n```\r\n\r\n**hello.js**\r\n```js\r\nimport React from 'react'; // unable to resolve path to module 'react'\r\nimport goodbye from './goodbye';  // unable to resolve path to module './goodbye'\r\n\r\nconsole.log(goodbye);\r\nconsole.log(React);\r\n```\r\n\r\n**package.json**\r\n```json\r\n  \"devDependencies\": {\r\n    \"eslint\": \"^2.11.1\",\r\n    \"eslint-config-airbnb\": \"^9.0.1\",\r\n    \"eslint-plugin-import\": \"^1.9.0\",\r\n    \"eslint-plugin-jsx-a11y\": \"^1.3.0\",\r\n    \"eslint-plugin-react\": \"^5.1.1\"\r\n  },\r\n  \"dependencies\": {\r\n    \"react\": \"^15.1.0\"\r\n  }\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/comments/225758990","html_url":"https://github.com/AtomLinter/linter-eslint/issues/602#issuecomment-225758990","issue_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/602","id":225758990,"user":{"login":"cusxio","id":6487613,"avatar_url":"https://avatars.githubusercontent.com/u/6487613?v=3","gravatar_id":"","url":"https://api.github.com/users/cusxio","html_url":"https://github.com/cusxio","followers_url":"https://api.github.com/users/cusxio/followers","following_url":"https://api.github.com/users/cusxio/following{/other_user}","gists_url":"https://api.github.com/users/cusxio/gists{/gist_id}","starred_url":"https://api.github.com/users/cusxio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cusxio/subscriptions","organizations_url":"https://api.github.com/users/cusxio/orgs","repos_url":"https://api.github.com/users/cusxio/repos","events_url":"https://api.github.com/users/cusxio/events{/privacy}","received_events_url":"https://api.github.com/users/cusxio/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T01:51:12Z","updated_at":"2016-06-14T01:51:12Z","body":"@IanVS \r\n\r\nI am not too sure at this point. I'll close this issue for now until I have something more concrete!"}}
{"actor":{"display_login":"cusxio"}}