Enforce complexity limit as error

This commit is contained in:
Danila Poyarkov 2026-03-09 11:31:36 +03:00
parent 1631d48c40
commit 96784e2895

View file

@ -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",