Skip to content

Commit dc3af3a

Browse files
committed
[eslint config] [base] update default value for complexity
1 parent 1eadb93 commit dc3af3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-config-airbnb-base/rules/best-practices.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
'block-scoped-var': 'error',
1212

1313
// specify the maximum cyclomatic complexity allowed in a program
14-
complexity: ['off', 11],
14+
complexity: ['off', 20],
1515

1616
// enforce that class methods use "this"
1717
// https://eslint.org/docs/rules/class-methods-use-this

0 commit comments

Comments
 (0)