{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/505","repository_url":"https://api.github.com/repos/AtomLinter/linter-eslint","labels_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/505/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/505/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/505/events","html_url":"https://github.com/AtomLinter/linter-eslint/issues/505","id":143580412,"number":505,"title":"Issues with module.exports = {...somethingElse, ...module.exports}","user":{"login":"artursgirons","id":1490410,"avatar_url":"https://avatars.githubusercontent.com/u/1490410?v=3","gravatar_id":"","url":"https://api.github.com/users/artursgirons","html_url":"https://github.com/artursgirons","followers_url":"https://api.github.com/users/artursgirons/followers","following_url":"https://api.github.com/users/artursgirons/following{/other_user}","gists_url":"https://api.github.com/users/artursgirons/gists{/gist_id}","starred_url":"https://api.github.com/users/artursgirons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artursgirons/subscriptions","organizations_url":"https://api.github.com/users/artursgirons/orgs","repos_url":"https://api.github.com/users/artursgirons/repos","events_url":"https://api.github.com/users/artursgirons/events{/privacy}","received_events_url":"https://api.github.com/users/artursgirons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-25T19:45:51Z","updated_at":"2016-03-28T20:29:33Z","closed_at":null,"body":"When module with content bellow gets imported into other file, eslint is highlighting methods as not found in that file:\r\n\r\n```javascript\r\nconst somethingElse = getSomethingElse()\r\nexport function somethings() {}\r\nmodule.exports = {...somethingElse, ...module.exports}\r\n```"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/comments/202569853","html_url":"https://github.com/AtomLinter/linter-eslint/issues/505#issuecomment-202569853","issue_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/505","id":202569853,"user":{"login":"artursgirons","id":1490410,"avatar_url":"https://avatars.githubusercontent.com/u/1490410?v=3","gravatar_id":"","url":"https://api.github.com/users/artursgirons","html_url":"https://github.com/artursgirons","followers_url":"https://api.github.com/users/artursgirons/followers","following_url":"https://api.github.com/users/artursgirons/following{/other_user}","gists_url":"https://api.github.com/users/artursgirons/gists{/gist_id}","starred_url":"https://api.github.com/users/artursgirons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artursgirons/subscriptions","organizations_url":"https://api.github.com/users/artursgirons/orgs","repos_url":"https://api.github.com/users/artursgirons/repos","events_url":"https://api.github.com/users/artursgirons/events{/privacy}","received_events_url":"https://api.github.com/users/artursgirons/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T20:29:33Z","updated_at":"2016-03-28T20:29:33Z","body":"When i run it manually, all is good! Issue happens, when this module (as described abow) is being imported somewhere else.\r\n\r\n```javascript\r\nimport mixedExports from 'mixedExports.js'\r\n\r\nmixedExports.somethings() // all fine, no eslint errors\r\nmixedExports.functionFromSomethingElse() // eslint in Atom reports that module does not have such function!\r\n```\r\n\r\nSorry, I don't remember exact message (I restructure my code already to avoid this error, but I would like not to do that :) ), but it was about methods or something not being found in exported module"}}