{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/6190","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/6190/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/6190/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/6190/events","html_url":"https://github.com/eslint/eslint/issues/6190","id":154932974,"number":6190,"title":"Lint unnecessary disabled reporting comments","user":{"login":"josh","id":137,"avatar_url":"https://avatars.githubusercontent.com/u/137?v=3","gravatar_id":"","url":"https://api.github.com/users/josh","html_url":"https://github.com/josh","followers_url":"https://api.github.com/users/josh/followers","following_url":"https://api.github.com/users/josh/following{/other_user}","gists_url":"https://api.github.com/users/josh/gists{/gist_id}","starred_url":"https://api.github.com/users/josh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh/subscriptions","organizations_url":"https://api.github.com/users/josh/orgs","repos_url":"https://api.github.com/users/josh/repos","events_url":"https://api.github.com/users/josh/events{/privacy}","received_events_url":"https://api.github.com/users/josh/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/cli","name":"cli","color":"eb6420"},{"url":"https://api.github.com/repos/eslint/eslint/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/eslint/eslint/labels/evaluating","name":"evaluating","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-05-15T21:58:46Z","updated_at":"2016-05-30T16:55:44Z","closed_at":null,"body":"*Repost of #6188 as an Issue*\r\n\r\nESLint configuration comments are handy for temporarily allowing an exception or hack. But sometimes the hack is fixed but the comment is still left in place.\r\n\r\nA clever way to implement this would be with a eslint rule itself. However this is error prone. The most obvious thing is that disabling all rules in a file would then disable this meta rule.\r\n\r\nSimilar to `allowInlineConfig`, this probably means it needs to be implemented outside of the rule processing code path. I took a stab at plumbing a similar CLI flag to enable these checks.\r\n\r\nIf this is something that won't be accepted, would you at least consider publicly exposing the data on `reportConfig`? Theres really no way to access this without monkey patching `api.report`. `api.getReportingConfig()` would probably be enough for my needs.\r\n\r\nRelated https://github.com/eslint/eslint/issues/5659 https://github.com/sindresorhus/xo/issues/103 https://github.com/bbatsov/rubocop/issues/1865"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/222527636","html_url":"https://github.com/eslint/eslint/issues/6190#issuecomment-222527636","issue_url":"https://api.github.com/repos/eslint/eslint/issues/6190","id":222527636,"user":{"login":"platinumazure","id":284282,"avatar_url":"https://avatars.githubusercontent.com/u/284282?v=3","gravatar_id":"","url":"https://api.github.com/users/platinumazure","html_url":"https://github.com/platinumazure","followers_url":"https://api.github.com/users/platinumazure/followers","following_url":"https://api.github.com/users/platinumazure/following{/other_user}","gists_url":"https://api.github.com/users/platinumazure/gists{/gist_id}","starred_url":"https://api.github.com/users/platinumazure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/platinumazure/subscriptions","organizations_url":"https://api.github.com/users/platinumazure/orgs","repos_url":"https://api.github.com/users/platinumazure/repos","events_url":"https://api.github.com/users/platinumazure/events{/privacy}","received_events_url":"https://api.github.com/users/platinumazure/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T16:55:44Z","updated_at":"2016-05-30T16:55:44Z","body":"Wondering if anyone had any thoughts about [my comment above](https://github.com/eslint/eslint/issues/6190#issuecomment-219773700)? I think refactoring disabled rule logic will make it easier to determine how feasible this is in core and will hopefully improve maintainability."}}
{"actor":{"display_login":"platinumazure"}}