{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2074","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2074/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2074/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2074/events","html_url":"https://github.com/eslint/eslint/issues/2074","id":62144908,"number":2074,"title":"eslint-disable-line directive still errors for exceeding max-len","user":{"login":"kentor","id":240493,"avatar_url":"https://avatars.githubusercontent.com/u/240493?v=3","gravatar_id":"","url":"https://api.github.com/users/kentor","html_url":"https://github.com/kentor","followers_url":"https://api.github.com/users/kentor/followers","following_url":"https://api.github.com/users/kentor/following{/other_user}","gists_url":"https://api.github.com/users/kentor/gists{/gist_id}","starred_url":"https://api.github.com/users/kentor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentor/subscriptions","organizations_url":"https://api.github.com/users/kentor/orgs","repos_url":"https://api.github.com/users/kentor/repos","events_url":"https://api.github.com/users/kentor/events{/privacy}","received_events_url":"https://api.github.com/users/kentor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/core","name":"core","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-16T16:56:23Z","updated_at":"2015-10-07T10:33:39Z","closed_at":"2015-03-28T16:37:04Z","body":"```javascript\r\n1; // eslint-disable-line\r\n```\r\n\r\n```yaml\r\n---\r\nrules:\r\n  max-len: [2, 1]\r\n```\r\n\r\n```bash\r\nindex.js\r\n  1:0  error  Line 1 exceeds the maximum line length of 1  max-len\r\n\r\n✖ 1 problem (1 error, 0 warnings)\r\n```\r\n\r\nExpected the directive to allow exceeding max-len rule."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/146147960","html_url":"https://github.com/eslint/eslint/issues/2074#issuecomment-146147960","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2074","id":146147960,"user":{"login":"hon2a","id":2254160,"avatar_url":"https://avatars.githubusercontent.com/u/2254160?v=3","gravatar_id":"","url":"https://api.github.com/users/hon2a","html_url":"https://github.com/hon2a","followers_url":"https://api.github.com/users/hon2a/followers","following_url":"https://api.github.com/users/hon2a/following{/other_user}","gists_url":"https://api.github.com/users/hon2a/gists{/gist_id}","starred_url":"https://api.github.com/users/hon2a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hon2a/subscriptions","organizations_url":"https://api.github.com/users/hon2a/orgs","repos_url":"https://api.github.com/users/hon2a/repos","events_url":"https://api.github.com/users/hon2a/events{/privacy}","received_events_url":"https://api.github.com/users/hon2a/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T10:33:39Z","updated_at":"2015-10-07T10:33:39Z","body":"@nzakas Maybe I don't quite get what you mean, but how do you figure that? When I do:\r\n\r\n```\r\n... some code longer than allowed max-len ...;  // eslint-disable-line max-len\r\n```\r\n\r\nI'd expect the comment to disable linting of that line and no longer return the warning/error for that line. However, when I try it, I'm still getting my warning. If I disable the rule like this:\r\n\r\n```\r\n/* eslint-disable max-len */\r\n... some code longer than allowed max-len ...;\r\n/* eslint-enable max-len */\r\n```\r\n\r\nit works as expected (no warning)."}}