{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/6036","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/6036/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/6036/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/6036/events","html_url":"https://github.com/eslint/eslint/issues/6036","id":152461980,"number":6036,"title":"Rule no-extra-parens needs an option to allow `return (foo = bar)`","user":{"login":"domenic","id":617481,"avatar_url":"https://avatars.githubusercontent.com/u/617481?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/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":2,"created_at":"2016-05-01T23:19:58Z","updated_at":"2016-05-03T01:30:01Z","closed_at":null,"body":"**What version of ESLint are you using?**: 2.9.0\r\n\r\n**What parser (default, Babel-ESLint, etc.) are you using?**: default\r\n\r\n**Please show your full configuration:** https://gist.github.com/domenic/f6f5b7c294b610e7184b29d5e589d73b\r\n\r\n**What did you do? Please include the actual source code causing the issue.**\r\n\r\n```js\r\n  parentNode() {\r\n    let node = this._currentNode;\r\n    while (!isNull(node) && node !== this.root) {\r\n      node = node.parentNode;\r\n\r\n      if (!isNull(node) && this._filterNode(node) === FILTER_ACCEPT) {\r\n        return (this._currentNode = node);  // THIS LINE, THIS ONE RIGHT HERE\r\n      }\r\n    }\r\n    return null;\r\n  }\r\n````\r\n\r\n**What did you expect to happen?** Since I have configured no-return-assign to be \"except-parens\", I was hoping \"no-extra-parens\" would have an option that's compatible with my no-return-assign configuration, and would allow the extra parens in that particular case.\r\n\r\n**What actually happened? Please include the actual, raw output from ESLint.**\r\n\r\n```\r\nC:\\Users\\Domenic\\Dropbox\\GitHub\\tmpvar\\jsdom\\lib\\jsdom\\living\\traversal\\TreeWalker-impl.js\r\n   46:16  error  Gratuitous parentheses around expression  no-extra-parens\r\n```\r\n\r\nThis is a request to add another option to no-extra-parens to allow it in the return-assign case."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/216411814","html_url":"https://github.com/eslint/eslint/issues/6036#issuecomment-216411814","issue_url":"https://api.github.com/repos/eslint/eslint/issues/6036","id":216411814,"user":{"login":"kaicataldo","id":7041728,"avatar_url":"https://avatars.githubusercontent.com/u/7041728?v=3","gravatar_id":"","url":"https://api.github.com/users/kaicataldo","html_url":"https://github.com/kaicataldo","followers_url":"https://api.github.com/users/kaicataldo/followers","following_url":"https://api.github.com/users/kaicataldo/following{/other_user}","gists_url":"https://api.github.com/users/kaicataldo/gists{/gist_id}","starred_url":"https://api.github.com/users/kaicataldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaicataldo/subscriptions","organizations_url":"https://api.github.com/users/kaicataldo/orgs","repos_url":"https://api.github.com/users/kaicataldo/repos","events_url":"https://api.github.com/users/kaicataldo/events{/privacy}","received_events_url":"https://api.github.com/users/kaicataldo/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T01:30:00Z","updated_at":"2016-05-03T01:30:00Z","body":"I can take a look at this if you're not already, @mysticatea"}}