{"action":"created","comment":{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls/comments/66048598","id":66048598,"diff_hunk":"@@ -0,0 +1,43 @@\n+# Specify rules to disable when using `eslint-disable` comments\n+\n+If you want to disable a ESLint rule in a file or on a specific line, you can add a comment like:\n+\n+On a single line\n+```js\n+var message = 'foo';\n+console.log(message); // eslint-disable-line no-console\n+```\n+On the whole (rest of the) file\n+```js\n+/* eslint-disable no-console */\n+var message = 'foo';","path":"docs/rules/no-abusive-eslint-disable.md","position":13,"original_position":13,"commit_id":"99b1d0712aa192d82d7813d7acce79dbabcb55cc","original_commit_id":"99b1d0712aa192d82d7813d7acce79dbabcb55cc","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"body":"const","created_at":"2016-06-07T10:50:12Z","updated_at":"2016-06-07T10:50:12Z","html_url":"https://github.com/sindresorhus/eslint-plugin-xo/pull/33#discussion_r66048598","pull_request_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls/comments/66048598"},"html":{"href":"https://github.com/sindresorhus/eslint-plugin-xo/pull/33#discussion_r66048598"},"pull_request":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls/33","id":72600682,"html_url":"https://github.com/sindresorhus/eslint-plugin-xo/pull/33","diff_url":"https://github.com/sindresorhus/eslint-plugin-xo/pull/33.diff","patch_url":"https://github.com/sindresorhus/eslint-plugin-xo/pull/33.patch","issue_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/33","number":33,"state":"open","locked":false,"title":"Add `no-abusive-eslint-disable` rule","user":{"login":"jfmengels","id":3869412,"avatar_url":"https://avatars.githubusercontent.com/u/3869412?v=3","gravatar_id":"","url":"https://api.github.com/users/jfmengels","html_url":"https://github.com/jfmengels","followers_url":"https://api.github.com/users/jfmengels/followers","following_url":"https://api.github.com/users/jfmengels/following{/other_user}","gists_url":"https://api.github.com/users/jfmengels/gists{/gist_id}","starred_url":"https://api.github.com/users/jfmengels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfmengels/subscriptions","organizations_url":"https://api.github.com/users/jfmengels/orgs","repos_url":"https://api.github.com/users/jfmengels/repos","events_url":"https://api.github.com/users/jfmengels/events{/privacy}","received_events_url":"https://api.github.com/users/jfmengels/received_events","type":"User","site_admin":false},"body":"This is a rule proposal, but as I wanted to know whether it was actually possible, I *accidentally* went all the way :p\r\n\r\nI saw [this message](https://gitter.im/eslint/eslint?at=5751c0393bdac7ae37b46224) by @alanhussey on the ESLint Gitter, and thought it was a pretty good idea.\r\n\r\nThe proposal is to enforce specifying the rules to disable when you use `eslint-disable`/`eslint-disable-line`, as you can otherwise hide some useful error reports.\r\n\r\nLet me know what you think :)","created_at":"2016-06-04T11:48:32Z","updated_at":"2016-06-07T10:50:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"451050f5467e2da0d880c97f61036153885a468f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls/33/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls/33/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/33/comments","statuses_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/statuses/99b1d0712aa192d82d7813d7acce79dbabcb55cc","head":{"label":"sindresorhus:no-abusive-eslint-disable","ref":"no-abusive-eslint-disable","sha":"99b1d0712aa192d82d7813d7acce79dbabcb55cc","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":55832243,"name":"eslint-plugin-xo","full_name":"sindresorhus/eslint-plugin-xo","owner":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sindresorhus/eslint-plugin-xo","description":"ESLint rules for XO","fork":false,"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo","forks_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/forks","keys_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/teams","hooks_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/events","assignees_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/tags","blobs_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/subscription","commits_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/merges","archive_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/downloads","issues_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/deployments","created_at":"2016-04-09T07:48:04Z","updated_at":"2016-05-20T07:38:03Z","pushed_at":"2016-06-04T12:43:01Z","git_url":"git://github.com/sindresorhus/eslint-plugin-xo.git","ssh_url":"git@github.com:sindresorhus/eslint-plugin-xo.git","clone_url":"https://github.com/sindresorhus/eslint-plugin-xo.git","svn_url":"https://github.com/sindresorhus/eslint-plugin-xo","homepage":"https://github.com/sindresorhus/xo","size":32,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":19,"forks":2,"open_issues":19,"watchers":12,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"dd0f64a916c1deaeb52eda88926c0f5287556d09","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":55832243,"name":"eslint-plugin-xo","full_name":"sindresorhus/eslint-plugin-xo","owner":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sindresorhus/eslint-plugin-xo","description":"ESLint rules for XO","fork":false,"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo","forks_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/forks","keys_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/teams","hooks_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/events","assignees_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/tags","blobs_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/subscription","commits_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/merges","archive_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/downloads","issues_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/deployments","created_at":"2016-04-09T07:48:04Z","updated_at":"2016-05-20T07:38:03Z","pushed_at":"2016-06-04T12:43:01Z","git_url":"git://github.com/sindresorhus/eslint-plugin-xo.git","ssh_url":"git@github.com:sindresorhus/eslint-plugin-xo.git","clone_url":"https://github.com/sindresorhus/eslint-plugin-xo.git","svn_url":"https://github.com/sindresorhus/eslint-plugin-xo","homepage":"https://github.com/sindresorhus/xo","size":32,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":19,"forks":2,"open_issues":19,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls/33"},"html":{"href":"https://github.com/sindresorhus/eslint-plugin-xo/pull/33"},"issue":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/33"},"comments":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/statuses/99b1d0712aa192d82d7813d7acce79dbabcb55cc"}}}}
{"actor":{"display_login":"sindresorhus"}}