Enforce complexity limit as error
This commit is contained in:
parent
1631d48c40
commit
96784e2895
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
"no-empty-function": "error",
|
||||
"max-lines": ["warn", { "max": 600 }],
|
||||
"complexity": ["warn", { "max": 20 }],
|
||||
"complexity": ["error", { "max": 20 }],
|
||||
|
||||
"typescript/no-explicit-any": "warn",
|
||||
"typescript/no-non-null-assertion": "warn",
|
||||
|
|
|
|||
Loading…
Reference in a new issue