Skip to content

Commit

Permalink
[eslint config] [base] update default value for complexity
Browse files Browse the repository at this point in the history
  • Loading branch information
kirans08 committed May 3, 2021
1 parent 1eadb93 commit dc3af3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-airbnb-base/rules/best-practices.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
'block-scoped-var': 'error',

// specify the maximum cyclomatic complexity allowed in a program
complexity: ['off', 11],
complexity: ['off', 20],

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

0 comments on commit dc3af3a

Please sign in to comment.