From 42bcc915c74e7a08f30b9247e2dff3796400ad61 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Sun, 31 May 2026 19:16:44 +0300 Subject: [PATCH] chore(lint): enable import/no-cycle Guards against circular-dependency regressions in barrels. Requires the import plugin, which is not enabled by default. --- oxlint.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oxlint.json b/oxlint.json index 5d0d57b..ab5c55e 100644 --- a/oxlint.json +++ b/oxlint.json @@ -1,4 +1,5 @@ { + "plugins": ["import"], "categories": { "correctness": "error", "suspicious": "warn", @@ -22,6 +23,7 @@ "rules": { "no-console": "off", "no-debugger": "error", - "no-alert": "warn" + "no-alert": "warn", + "import/no-cycle": "error" } }