{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/74","repository_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava","labels_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/74/comments","events_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/74/events","html_url":"https://github.com/sindresorhus/eslint-plugin-ava/issues/74","id":146764242,"number":74,"title":"Two branches?","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},"labels":[{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-07T22:50:16Z","updated_at":"2016-04-07T23:24:52Z","closed_at":null,"body":"As far as i can tell, we have three types of changes in this repo:\r\n- Bug fixes\r\n- Rule additions/changes for stuff existing in the current version of AVA\r\n- Rule additions/changes for stuff that is yet to land in AVA\r\n\r\nFor instance https://github.com/sindresorhus/eslint-plugin-ava/pull/71 should probably not be released before the next release of AVA that includes it (be it 0.14.1 or 0.15.0). Rules prohibiting `t.same` and `t.ok` (had we had them before the 0.14 release) also should not be published before 0.14 lands on `npm`.\r\n\r\nShould we have two separate branches? One for stuff that can be published right away, and one for stuff that is \"on hold\"? We can also put merges on hold, but that can be painful for contributors, especially if there are rebase/fixes needed a month after the PR was made."},"comment":{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/comments/207135695","html_url":"https://github.com/sindresorhus/eslint-plugin-ava/issues/74#issuecomment-207135695","issue_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/74","id":207135695,"user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T23:24:52Z","updated_at":"2016-04-07T23:24:52Z","body":"I would like to avoid multiple branches if possible.\r\n\r\n- For #71 - we could probably just use `pkg-up` to figure out the AVA version.\r\n\r\n- We could hide new rules behind an environment variable:\r\n\r\n  ```js\r\nmodule.exports.rules = {...};\r\n\r\nif (process.env.LINT_AVA_NEXT) {\r\n  // mixin additional rules\r\n}\r\n```\r\n\r\n- We could set rules as `\"off\"` until after the AVA release.\r\n\r\nI think the last one probably makes the most sense, just set new rules to \"off\". That won't help #71, but I wonder how many of those we will get.\r\n\r\nI am not sure it's that big a problem. The API has been pretty steady (I think I upgraded something from `0.8` the other day - and it just worked - no codemods required)."}}