mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 08:38:08 -05:00
[Fix] re-enable no-confusing-arrow rule, with allowParens option enabled.
Per #752, fixes #791.
This commit is contained in:
@@ -30,7 +30,9 @@ module.exports = {
|
||||
'no-class-assign': 0,
|
||||
// disallow arrow functions where they could be confused with comparisons
|
||||
// http://eslint.org/docs/rules/no-confusing-arrow
|
||||
'no-confusing-arrow': 0,
|
||||
'no-confusing-arrow': [2, {
|
||||
'allowParens': true,
|
||||
}],
|
||||
// disallow modifying variables that are declared using const
|
||||
'no-const-assign': 2,
|
||||
// disallow symbol constructor
|
||||
|
||||
Reference in New Issue
Block a user