File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ checks:
2626 argument-count :
2727 enabled : true
2828 config :
29- threshold : 4
29+ threshold : 10
3030
3131 # Check for boolean logic that may be hard to understand.
3232 complex-logic :
3333 enabled : true
3434 config :
35- threshold : 4
35+ threshold : 10
3636
3737 # Check for excessive lines of code within a single file.
3838 file-lines :
@@ -44,7 +44,7 @@ checks:
4444 method-complexity :
4545 enabled : true
4646 config :
47- threshold : 5
47+ threshold : 10
4848
4949 # Check for classes defined with a high number of functions or methods.
5050 method-count :
@@ -56,17 +56,17 @@ checks:
5656 method-lines :
5757 enabled : true
5858 config :
59- threshold : 100
59+ threshold : 200
6060
6161 # Check for deeply nested control structures like `if` or `case`.
6262 nested-control-flow :
6363 enabled : true
6464 config :
65- threshold : 4
65+ threshold : 5
6666
6767 # Check for functions or methods with a high number of return statements.
6868 return-statements :
69- enabled : true
69+ enabled : false # NOTE: disabled because files such as `validate.js` can have multiple returns, which is intentional and okay.
7070 config :
7171 threshold : 5
7272
You can’t perform that action at this time.
0 commit comments