{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/1840","labels_url":"https://api.github.com/repos/eslint/eslint/issues/1840/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/1840/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/1840/events","html_url":"https://github.com/eslint/eslint/pull/1840","id":57829312,"number":1840,"title":"New: Adding Support for \"// eslint-disable-line rule\" style comments","user":{"login":"chasingtheflow","id":718368,"avatar_url":"https://avatars.githubusercontent.com/u/718368?v=3","gravatar_id":"","url":"https://api.github.com/users/chasingtheflow","html_url":"https://github.com/chasingtheflow","followers_url":"https://api.github.com/users/chasingtheflow/followers","following_url":"https://api.github.com/users/chasingtheflow/following{/other_user}","gists_url":"https://api.github.com/users/chasingtheflow/gists{/gist_id}","starred_url":"https://api.github.com/users/chasingtheflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chasingtheflow/subscriptions","organizations_url":"https://api.github.com/users/chasingtheflow/orgs","repos_url":"https://api.github.com/users/chasingtheflow/repos","events_url":"https://api.github.com/users/chasingtheflow/events{/privacy}","received_events_url":"https://api.github.com/users/chasingtheflow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-02-16T17:09:17Z","updated_at":"2015-03-05T19:43:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/1840","html_url":"https://github.com/eslint/eslint/pull/1840","diff_url":"https://github.com/eslint/eslint/pull/1840.diff","patch_url":"https://github.com/eslint/eslint/pull/1840.patch"},"body":"As discussed on eslint@googlegroups.com, this pull requests enables support for a trailing comment to \"mute\" or \"ignore\" a single line. For example, previously accomplishing this would have required something like:\r\n\r\n```javascript\r\n/*eslint-disable no-eval*/\r\nvar value = eval(value);\r\n/*eslint-enable*/\r\n``` \r\nWhereas now with `eslint-ignore` you can accomplish this more easily with a simple trailing comment:\r\n\r\n```javascript\r\nvar value = eval(value);  /*eslint-ignore no-eval*/\r\n```\r\n\r\nMaking it simpler and easier to mute known rule violations when necessary."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/77436689","html_url":"https://github.com/eslint/eslint/pull/1840#issuecomment-77436689","issue_url":"https://api.github.com/repos/eslint/eslint/issues/1840","id":77436689,"user":{"login":"chasingtheflow","id":718368,"avatar_url":"https://avatars.githubusercontent.com/u/718368?v=3","gravatar_id":"","url":"https://api.github.com/users/chasingtheflow","html_url":"https://github.com/chasingtheflow","followers_url":"https://api.github.com/users/chasingtheflow/followers","following_url":"https://api.github.com/users/chasingtheflow/following{/other_user}","gists_url":"https://api.github.com/users/chasingtheflow/gists{/gist_id}","starred_url":"https://api.github.com/users/chasingtheflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chasingtheflow/subscriptions","organizations_url":"https://api.github.com/users/chasingtheflow/orgs","repos_url":"https://api.github.com/users/chasingtheflow/repos","events_url":"https://api.github.com/users/chasingtheflow/events{/privacy}","received_events_url":"https://api.github.com/users/chasingtheflow/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T19:43:53Z","updated_at":"2015-03-05T19:43:53Z","body":"Hi Again, apologies for my newb git skills –– not something I use day-to-day. My latest commit has this cleaned up to the best of my abilities, but now I have 7 commits in this PR, where I know you only want 1. The last time I tried to \"squash\" these they got severely messed up when they merged together ... could someone give me advice on how to just include my latest commit? The diff now looks good to me however..."}}