We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
no-confusing-arrow
allowParens
1 parent 9eb24d6 commit 5ded256Copy full SHA for 5ded256
packages/eslint-config-airbnb/rules/es6.js
@@ -30,7 +30,9 @@ module.exports = {
30
'no-class-assign': 0,
31
// disallow arrow functions where they could be confused with comparisons
32
// http://eslint.org/docs/rules/no-confusing-arrow
33
- 'no-confusing-arrow': 0,
+ 'no-confusing-arrow': [2, {
34
+ 'allowParens': true,
35
+ }],
36
// disallow modifying variables that are declared using const
37
'no-const-assign': 2,
38
// disallow symbol constructor
0 commit comments