{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/3065","labels_url":"https://api.github.com/repos/eslint/eslint/issues/3065/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/3065/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/3065/events","html_url":"https://github.com/eslint/eslint/issues/3065","id":95837821,"number":3065,"title":"Request: `no-extra-parens` option to ignore `&&`/`||`","user":{"login":"ljharb","id":45469,"avatar_url":"https://avatars.githubusercontent.com/u/45469?v=3","gravatar_id":"","url":"https://api.github.com/users/ljharb","html_url":"https://github.com/ljharb","followers_url":"https://api.github.com/users/ljharb/followers","following_url":"https://api.github.com/users/ljharb/following{/other_user}","gists_url":"https://api.github.com/users/ljharb/gists{/gist_id}","starred_url":"https://api.github.com/users/ljharb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljharb/subscriptions","organizations_url":"https://api.github.com/users/ljharb/orgs","repos_url":"https://api.github.com/users/ljharb/repos","events_url":"https://api.github.com/users/ljharb/events{/privacy}","received_events_url":"https://api.github.com/users/ljharb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc"},{"url":"https://api.github.com/repos/eslint/eslint/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-07-18T16:20:39Z","updated_at":"2015-08-12T15:59:14Z","closed_at":null,"body":"Although the rules for precedence of `&&` and `||` are clear, using parentheses to visually group these is often very helpful to ensure programmer intentions. ie: `a || (b && c)` even though `a || b && c` is the same.\r\n\r\nMost of the time, I don't want extra parens - but around selection operators, I very much do. Can we add an option to this rule so it ignores `&&`/`||` operators? (for stylistic reasons only)"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/130355086","html_url":"https://github.com/eslint/eslint/issues/3065#issuecomment-130355086","issue_url":"https://api.github.com/repos/eslint/eslint/issues/3065","id":130355086,"user":{"login":"ljharb","id":45469,"avatar_url":"https://avatars.githubusercontent.com/u/45469?v=3","gravatar_id":"","url":"https://api.github.com/users/ljharb","html_url":"https://github.com/ljharb","followers_url":"https://api.github.com/users/ljharb/followers","following_url":"https://api.github.com/users/ljharb/following{/other_user}","gists_url":"https://api.github.com/users/ljharb/gists{/gist_id}","starred_url":"https://api.github.com/users/ljharb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljharb/subscriptions","organizations_url":"https://api.github.com/users/ljharb/orgs","repos_url":"https://api.github.com/users/ljharb/repos","events_url":"https://api.github.com/users/ljharb/events{/privacy}","received_events_url":"https://api.github.com/users/ljharb/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T15:59:14Z","updated_at":"2015-08-12T15:59:14Z","body":"It could still be a separate option that was just a noop in \"functions\" mode - alternatively, all/functions/allButNestedBinaryExpressions (but that seems gnarly)"}}