{"action":"created","issue":{"url":"https://api.github.com/repos/MoOx/eslint-loader/issues/106","repository_url":"https://api.github.com/repos/MoOx/eslint-loader","labels_url":"https://api.github.com/repos/MoOx/eslint-loader/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/MoOx/eslint-loader/issues/106/comments","events_url":"https://api.github.com/repos/MoOx/eslint-loader/issues/106/events","html_url":"https://github.com/MoOx/eslint-loader/pull/106","id":173079502,"number":106,"title":"Fixed: additional config files no longer ignored","user":{"login":"jaythomas","id":2344456,"avatar_url":"https://avatars.githubusercontent.com/u/2344456?v=3","gravatar_id":"","url":"https://api.github.com/users/jaythomas","html_url":"https://github.com/jaythomas","followers_url":"https://api.github.com/users/jaythomas/followers","following_url":"https://api.github.com/users/jaythomas/following{/other_user}","gists_url":"https://api.github.com/users/jaythomas/gists{/gist_id}","starred_url":"https://api.github.com/users/jaythomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaythomas/subscriptions","organizations_url":"https://api.github.com/users/jaythomas/orgs","repos_url":"https://api.github.com/users/jaythomas/repos","events_url":"https://api.github.com/users/jaythomas/events{/privacy}","received_events_url":"https://api.github.com/users/jaythomas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-24T23:10:50Z","updated_at":"2016-10-31T14:32:14Z","closed_at":"2016-10-31T14:32:14Z","pull_request":{"url":"https://api.github.com/repos/MoOx/eslint-loader/pulls/106","html_url":"https://github.com/MoOx/eslint-loader/pull/106","diff_url":"https://github.com/MoOx/eslint-loader/pull/106.diff","patch_url":"https://github.com/MoOx/eslint-loader/pull/106.patch"},"body":"Resolves #105.\n\nPer @MoOx's suggestions, I have scoped engine instances to every unique config file string, allowing for more than one engine instance. Multiple config files can now be used in a webpack config:\n\n``` javascript\npreLoaders: [\n  {\n    test: /\\.js$/,\n    loader: 'eslint-loader?{ configFile: \"config-one.yaml\" }'\n  },\n  {\n    test: /\\.spec\\.js$/,\n    loader: 'eslint-loader?{ configFile: \"config-two.yaml\" }'\n  }\n]\n```\n\n**Notes:**\n- Moving the `inputMD5` declaration out of the inner `if` block was not necessary due to js hoisting, but since it is used outside the inner block it was visually being declared in I thought it made it more readable.\n- I ran `npm run tape` locally and noticed there were some warnings that seemed unimportant and pre-existing prior to the changes in this commit.\n"},"comment":{"url":"https://api.github.com/repos/MoOx/eslint-loader/issues/comments/257309203","html_url":"https://github.com/MoOx/eslint-loader/pull/106#issuecomment-257309203","issue_url":"https://api.github.com/repos/MoOx/eslint-loader/issues/106","id":257309203,"user":{"login":"jaythomas","id":2344456,"avatar_url":"https://avatars.githubusercontent.com/u/2344456?v=3","gravatar_id":"","url":"https://api.github.com/users/jaythomas","html_url":"https://github.com/jaythomas","followers_url":"https://api.github.com/users/jaythomas/followers","following_url":"https://api.github.com/users/jaythomas/following{/other_user}","gists_url":"https://api.github.com/users/jaythomas/gists{/gist_id}","starred_url":"https://api.github.com/users/jaythomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaythomas/subscriptions","organizations_url":"https://api.github.com/users/jaythomas/orgs","repos_url":"https://api.github.com/users/jaythomas/repos","events_url":"https://api.github.com/users/jaythomas/events{/privacy}","received_events_url":"https://api.github.com/users/jaythomas/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T14:32:14Z","updated_at":"2016-10-31T14:32:14Z","body":"Closing this PR in favor of #123."}}
{"actor":{"display_login":"jaythomas"}}