chore(lint): enable import/no-cycle

Guards against circular-dependency regressions in barrels. Requires the
import plugin, which is not enabled by default.
This commit is contained in:
Ilia Mashkov
2026-05-31 19:16:44 +03:00
parent c72b51b1c7
commit 42bcc915c7
+3 -1
View File
@@ -1,4 +1,5 @@
{ {
"plugins": ["import"],
"categories": { "categories": {
"correctness": "error", "correctness": "error",
"suspicious": "warn", "suspicious": "warn",
@@ -22,6 +23,7 @@
"rules": { "rules": {
"no-console": "off", "no-console": "off",
"no-debugger": "error", "no-debugger": "error",
"no-alert": "warn" "no-alert": "warn",
"import/no-cycle": "error"
} }
} }