{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/318","labels_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/318/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/318/events","html_url":"https://github.com/AtomLinter/linter-eslint/pull/318","id":118226696,"number":318,"title":"Check for config in package.json and .eslintrc before disabling","user":{"login":"tschaub","id":41094,"avatar_url":"https://avatars.githubusercontent.com/u/41094?v=3","gravatar_id":"","url":"https://api.github.com/users/tschaub","html_url":"https://github.com/tschaub","followers_url":"https://api.github.com/users/tschaub/followers","following_url":"https://api.github.com/users/tschaub/following{/other_user}","gists_url":"https://api.github.com/users/tschaub/gists{/gist_id}","starred_url":"https://api.github.com/users/tschaub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschaub/subscriptions","organizations_url":"https://api.github.com/users/tschaub/orgs","repos_url":"https://api.github.com/users/tschaub/repos","events_url":"https://api.github.com/users/tschaub/events{/privacy}","received_events_url":"https://api.github.com/users/tschaub/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-11-21T23:09:20Z","updated_at":"2015-11-21T23:27:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/pulls/318","html_url":"https://github.com/AtomLinter/linter-eslint/pull/318","diff_url":"https://github.com/AtomLinter/linter-eslint/pull/318.diff","patch_url":"https://github.com/AtomLinter/linter-eslint/pull/318.patch"},"body":"This adds a `disableWhenNoEslintConfig` setting.  When `true` (the default), the linter will be disabled only if no config is found in a `package.json` or `.eslintrc` file.\r\n\r\nThis removes the `disableWhenNoEslintrcFileInPath` setting (which breaks the use of `eslintConfig` in `package.json`).\r\n\r\nI couldn't see an easy way to add tests for this.  Let me know if you have any suggestions.  In addition, I'd be happy to rework this if you would prefer to reuse the original setting (or keep it and add the new one).\r\n\r\nFixes #226."},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/comments/158690252","html_url":"https://github.com/AtomLinter/linter-eslint/pull/318#issuecomment-158690252","issue_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/318","id":158690252,"user":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T23:27:16Z","updated_at":"2015-11-21T23:27:16Z","body":"@Arcanemagus We **could** use that in the future, when we use the cli engine class and all, but that's not what we're using right now so it won't work for us. I'd love for us to do it in the future.\r\n\r\nTill then, this LGTM"}}