{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/5481","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/5481/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/5481/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/5481/events","html_url":"https://github.com/eslint/eslint/issues/5481","id":138722576,"number":5481,"title":"Feature request: extend eslint-disable comment syntax to support disabling a plugin","user":{"login":"gajus","id":973543,"avatar_url":"https://avatars.githubusercontent.com/u/973543?v=3","gravatar_id":"","url":"https://api.github.com/users/gajus","html_url":"https://github.com/gajus","followers_url":"https://api.github.com/users/gajus/followers","following_url":"https://api.github.com/users/gajus/following{/other_user}","gists_url":"https://api.github.com/users/gajus/gists{/gist_id}","starred_url":"https://api.github.com/users/gajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gajus/subscriptions","organizations_url":"https://api.github.com/users/gajus/orgs","repos_url":"https://api.github.com/users/gajus/repos","events_url":"https://api.github.com/users/gajus/events{/privacy}","received_events_url":"https://api.github.com/users/gajus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/core","name":"core","color":"c7def8"},{"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":1,"created_at":"2016-03-05T21:12:12Z","updated_at":"2016-03-05T21:35:30Z","closed_at":null,"body":"I suggest to extend ESLint [`/* eslint-disable */`](http://eslint.org/docs/user-guide/configuring#configuring-rules) syntax to support disabling an entire plugin, e.g.\r\n\r\n```js\r\n/* eslint-disable react/* */\r\n```\r\n\r\nThis is useful in cases where certain code style or requirements apply to must but not all files (e.g. https://github.com/gajus/eslint-plugin-flowtype/issues/5) and listing all plugin rules is simply impractical.\r\n\r\nThere is an existing question about the existence of the feature (https://github.com/eslint/eslint/issues/2118). This issue is to propose addition of the same feature."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/192746651","html_url":"https://github.com/eslint/eslint/issues/5481#issuecomment-192746651","issue_url":"https://api.github.com/repos/eslint/eslint/issues/5481","id":192746651,"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-03-05T21:35:30Z","updated_at":"2016-03-05T21:35:30Z","body":"How much flexibility would you need?\r\n\r\nIf it's truly about plugins, would something like `/* eslint-disable-plugin-rules react */` work? (Put aside how verbose it is for now-- I'm just trying to see if you actually need wildcards.)"}}