{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/7629","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/7629/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/7629/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/7629/events","html_url":"https://github.com/eslint/eslint/issues/7629","id":190603233,"number":7629,"title":"Support configuration file overrides in default configuration.","user":{"login":"adjohnson916","id":615381,"avatar_url":"https://avatars.githubusercontent.com/u/615381?v=3","gravatar_id":"","url":"https://api.github.com/users/adjohnson916","html_url":"https://github.com/adjohnson916","followers_url":"https://api.github.com/users/adjohnson916/followers","following_url":"https://api.github.com/users/adjohnson916/following{/other_user}","gists_url":"https://api.github.com/users/adjohnson916/gists{/gist_id}","starred_url":"https://api.github.com/users/adjohnson916/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adjohnson916/subscriptions","organizations_url":"https://api.github.com/users/adjohnson916/orgs","repos_url":"https://api.github.com/users/adjohnson916/repos","events_url":"https://api.github.com/users/adjohnson916/events{/privacy}","received_events_url":"https://api.github.com/users/adjohnson916/received_events","type":"User","site_admin":false},"labels":[{"id":45711354,"url":"https://api.github.com/repos/eslint/eslint/labels/triage","name":"triage","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-21T02:12:27Z","updated_at":"2016-11-21T02:20:23Z","closed_at":"2016-11-21T02:20:23Z","body":"Relates to #7628.\r\n\r\n**What version are you using?**\r\n3.10.2\r\n**What did you do?**\r\nI have multiple ESLint configuration files, e.g. a default one for source, one for functional tests adding Protractor globals, one for unit tests adding Jasmine globals, etc.\r\n**What happened?**\r\nThe Atom editor and its linter plugin (as well as other tools, I'm sure) only understands the default one, so it shows all kinds errors when I'm working on my test files (undefined globals, etc.)\r\n**What did you expect to happen?**\r\nI'd like a new feature allowing the default configuration file to specify different configuration file overrides to be used for some files, matched by glob patterns, e.g. in `.eslintrc.js`:\r\n```\r\nmodule.exports = {\r\n  \"configs\": {\r\n    \".eslintrc.karma.js\": \"tests/**/*.js\",\r\n    \".eslintrc.protractor.js\": \"e2e-tests/**/*.js\"\r\n  },\r\n  \"extends\": \"eslint:recommended\",\r\n  \"rules\": {\r\n    // ...\r\n  }\r\n};\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/261827163","html_url":"https://github.com/eslint/eslint/issues/7629#issuecomment-261827163","issue_url":"https://api.github.com/repos/eslint/eslint/issues/7629","id":261827163,"user":{"login":"adjohnson916","id":615381,"avatar_url":"https://avatars.githubusercontent.com/u/615381?v=3","gravatar_id":"","url":"https://api.github.com/users/adjohnson916","html_url":"https://github.com/adjohnson916","followers_url":"https://api.github.com/users/adjohnson916/followers","following_url":"https://api.github.com/users/adjohnson916/following{/other_user}","gists_url":"https://api.github.com/users/adjohnson916/gists{/gist_id}","starred_url":"https://api.github.com/users/adjohnson916/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adjohnson916/subscriptions","organizations_url":"https://api.github.com/users/adjohnson916/orgs","repos_url":"https://api.github.com/users/adjohnson916/repos","events_url":"https://api.github.com/users/adjohnson916/events{/privacy}","received_events_url":"https://api.github.com/users/adjohnson916/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T02:20:23Z","updated_at":"2016-11-21T02:20:23Z","body":"@not-an-aardvark I suppose you're right, that's similar enough. I'll close this one out. Thanks!"}}
{"actor":{"display_login":"adjohnson916"}}