{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/5158","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/5158/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/5158/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/5158/events","html_url":"https://github.com/eslint/eslint/issues/5158","id":131511117,"number":5158,"title":"Extends syntax does not allow reference to internals of an eslint-config package","user":{"login":"mattfysh","id":470258,"avatar_url":"https://avatars.githubusercontent.com/u/470258?v=3","gravatar_id":"","url":"https://api.github.com/users/mattfysh","html_url":"https://github.com/mattfysh","followers_url":"https://api.github.com/users/mattfysh/followers","following_url":"https://api.github.com/users/mattfysh/following{/other_user}","gists_url":"https://api.github.com/users/mattfysh/gists{/gist_id}","starred_url":"https://api.github.com/users/mattfysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattfysh/subscriptions","organizations_url":"https://api.github.com/users/mattfysh/orgs","repos_url":"https://api.github.com/users/mattfysh/repos","events_url":"https://api.github.com/users/mattfysh/events{/privacy}","received_events_url":"https://api.github.com/users/mattfysh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/triage","name":"triage","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-04T23:59:45Z","updated_at":"2016-02-05T00:00:10Z","closed_at":null,"body":"For example, when using `extends: \"@scoped/eslint-config/lang\"`, the following error occurs:\r\n\r\n```\r\nError: Cannot read config package: @scoped/eslint-config-eslint-config/lang\r\nError: Cannot find module '@scoped/eslint-config-eslint-config/lang'\r\nReferenced from: /.eslintrc\r\n    at Function.Module._resolveFilename (module.js:336:15)\r\n    at Function.Module._load (module.js:278:25)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at loadPackage (/node_modules/eslint/lib/config/config-file.js:168:16)\r\n    at loadConfigFile (/node_modules/eslint/lib/config/config-file.js:212:18)\r\n    at load (/node_modules/eslint/lib/config/config-file.js:385:18)\r\n    at /node_modules/eslint/lib/config/config-file.js:326:36\r\n    at Array.reduceRight (native)\r\n    at applyExtends (/node_modules/eslint/lib/config/config-file.js:309:28)\r\n```\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30555394-extends-syntax-does-not-allow-reference-to-internals-of-an-eslint-config-package?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/180111286","html_url":"https://github.com/eslint/eslint/issues/5158#issuecomment-180111286","issue_url":"https://api.github.com/repos/eslint/eslint/issues/5158","id":180111286,"user":{"login":"mattfysh","id":470258,"avatar_url":"https://avatars.githubusercontent.com/u/470258?v=3","gravatar_id":"","url":"https://api.github.com/users/mattfysh","html_url":"https://github.com/mattfysh","followers_url":"https://api.github.com/users/mattfysh/followers","following_url":"https://api.github.com/users/mattfysh/following{/other_user}","gists_url":"https://api.github.com/users/mattfysh/gists{/gist_id}","starred_url":"https://api.github.com/users/mattfysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattfysh/subscriptions","organizations_url":"https://api.github.com/users/mattfysh/orgs","repos_url":"https://api.github.com/users/mattfysh/repos","events_url":"https://api.github.com/users/mattfysh/events{/privacy}","received_events_url":"https://api.github.com/users/mattfysh/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T00:00:10Z","updated_at":"2016-02-05T00:00:10Z","body":"Fixed in #5157 "}}