{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2175","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2175/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2175/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2175/events","html_url":"https://github.com/eslint/eslint/pull/2175","id":65074590,"number":2175,"title":"New: binop-style rule","user":{"login":"BenoitZugmeyer","id":61787,"avatar_url":"https://avatars.githubusercontent.com/u/61787?v=3","gravatar_id":"","url":"https://api.github.com/users/BenoitZugmeyer","html_url":"https://github.com/BenoitZugmeyer","followers_url":"https://api.github.com/users/BenoitZugmeyer/followers","following_url":"https://api.github.com/users/BenoitZugmeyer/following{/other_user}","gists_url":"https://api.github.com/users/BenoitZugmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/BenoitZugmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenoitZugmeyer/subscriptions","organizations_url":"https://api.github.com/users/BenoitZugmeyer/orgs","repos_url":"https://api.github.com/users/BenoitZugmeyer/repos","events_url":"https://api.github.com/users/BenoitZugmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/BenoitZugmeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-29T16:22:43Z","updated_at":"2015-03-29T18:55:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/2175","html_url":"https://github.com/eslint/eslint/pull/2175","diff_url":"https://github.com/eslint/eslint/pull/2175.diff","patch_url":"https://github.com/eslint/eslint/pull/2175.patch"},"body":"The code is heavily inspired from the `comma-style` rule. It applies on any node containing an infix operator: `BinaryExpression`, `LogicalExpression`, `AssignmentExpression` and `VariableDeclarator`. Each node types may be removed with the `exceptions` argument (like the `comma-style` rule).\r\n\r\nObviously I'm open to comments.\r\n\r\nThis is my first `eslint` contribution, I tried my best to apply all the contribution rule, but tell me if I missed something."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/87455199","html_url":"https://github.com/eslint/eslint/pull/2175#issuecomment-87455199","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2175","id":87455199,"user":{"login":"michaelficarra","id":218840,"avatar_url":"https://avatars.githubusercontent.com/u/218840?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelficarra","html_url":"https://github.com/michaelficarra","followers_url":"https://api.github.com/users/michaelficarra/followers","following_url":"https://api.github.com/users/michaelficarra/following{/other_user}","gists_url":"https://api.github.com/users/michaelficarra/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelficarra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelficarra/subscriptions","organizations_url":"https://api.github.com/users/michaelficarra/orgs","repos_url":"https://api.github.com/users/michaelficarra/repos","events_url":"https://api.github.com/users/michaelficarra/events{/privacy}","received_events_url":"https://api.github.com/users/michaelficarra/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T18:55:03Z","updated_at":"2015-03-29T18:55:03Z","body":"What? Of course `&&` is a binary operator."}}