{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2869","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2869/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2869/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2869/events","html_url":"https://github.com/eslint/eslint/pull/2869","id":91660923,"number":2869,"title":"New: Add init-declarations rule","user":{"login":"cjihrig","id":2512748,"avatar_url":"https://avatars.githubusercontent.com/u/2512748?v=3","gravatar_id":"","url":"https://api.github.com/users/cjihrig","html_url":"https://github.com/cjihrig","followers_url":"https://api.github.com/users/cjihrig/followers","following_url":"https://api.github.com/users/cjihrig/following{/other_user}","gists_url":"https://api.github.com/users/cjihrig/gists{/gist_id}","starred_url":"https://api.github.com/users/cjihrig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjihrig/subscriptions","organizations_url":"https://api.github.com/users/cjihrig/orgs","repos_url":"https://api.github.com/users/cjihrig/repos","events_url":"https://api.github.com/users/cjihrig/events{/privacy}","received_events_url":"https://api.github.com/users/cjihrig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-29T00:55:43Z","updated_at":"2015-06-29T01:36:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/2869","html_url":"https://github.com/eslint/eslint/pull/2869","diff_url":"https://github.com/eslint/eslint/pull/2869.diff","patch_url":"https://github.com/eslint/eslint/pull/2869.patch"},"body":"This rule was requested as a bounty. It enforces (or disallows) declarations and initializations to be combined. Fixes #2606. cc: @bedney"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/116370105","html_url":"https://github.com/eslint/eslint/pull/2869#issuecomment-116370105","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2869","id":116370105,"user":{"login":"gyandeeps","id":5554486,"avatar_url":"https://avatars.githubusercontent.com/u/5554486?v=3","gravatar_id":"","url":"https://api.github.com/users/gyandeeps","html_url":"https://github.com/gyandeeps","followers_url":"https://api.github.com/users/gyandeeps/followers","following_url":"https://api.github.com/users/gyandeeps/following{/other_user}","gists_url":"https://api.github.com/users/gyandeeps/gists{/gist_id}","starred_url":"https://api.github.com/users/gyandeeps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyandeeps/subscriptions","organizations_url":"https://api.github.com/users/gyandeeps/orgs","repos_url":"https://api.github.com/users/gyandeeps/repos","events_url":"https://api.github.com/users/gyandeeps/events{/privacy}","received_events_url":"https://api.github.com/users/gyandeeps/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T01:36:33Z","updated_at":"2015-06-29T01:36:33Z","body":"can you also add unit test for this case:\r\n```js\r\nvar foo = bar = 2;\r\n```"}}