From 96784e2895960d1614ddfccb87e6b3beefdbeb22 Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Mon, 9 Mar 2026 11:31:36 +0300 Subject: [PATCH] Enforce complexity limit as error --- oxlint.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oxlint.json b/oxlint.json index ced1d2b79..1d3d37d00 100644 --- a/oxlint.json +++ b/oxlint.json @@ -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",