{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/21","repository_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava","labels_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/21/comments","events_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/21/events","html_url":"https://github.com/sindresorhus/eslint-plugin-ava/issues/21","id":136881210,"number":21,"title":"Autofix rules","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},"labels":[{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-27T05:29:09Z","updated_at":"2016-03-03T07:10:21Z","closed_at":null,"body":"Would be useful to support autofixing for some of the rules. Not all are possible.\r\n\r\nhttp://eslint.org/docs/developer-guide/working-with-rules#contextreport\r\n\r\n- [ ] `no-skip-test` (just remove the `skip` modifier)\r\n- [ ] `no-only-test` (just remove the `only` modifier)\r\n- [ ] `no-identical-title` (append #1, #2, etc, to the title)\r\n- [ ] `no-skip-assert` (just remove the `skip` modifier)\r\n\r\nCan't think of any way to reliably fix the other rules, but input welcome!"},"comment":{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/comments/191620495","html_url":"https://github.com/sindresorhus/eslint-plugin-ava/issues/21#issuecomment-191620495","issue_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/21","id":191620495,"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},"created_at":"2016-03-03T07:10:21Z","updated_at":"2016-03-03T07:10:21Z","body":"> Not sure about no-identical-title though, as they won't really make things more readable in the source code (only when matching AVA's output to a test).\r\n\r\nAppending a `#n` does make it clear it's testing the same thing just split up for readability, but I don't feel strongly about it, and is a pretty edge-case anyways."}}