Merge pull request #2592 from MaxLeiter/eslint-arrow-rule-fix

Update `no-confusing-error` eslint rule to allow parenthesis
This commit is contained in:
Pavel Djundik 2018-06-26 10:51:26 +03:00 committed by GitHub
commit d1a995471e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ rules:
linebreak-style: [error, unix]
no-alert: error
no-catch-shadow: error
no-confusing-arrow: error
no-confusing-arrow: [error, {allowParens: true}]
no-control-regex: off
no-duplicate-imports: error
no-else-return: error