From 8b48cceb8f76b7037cadcd80398715e50951779c Mon Sep 17 00:00:00 2001 From: Sped0n Date: Thu, 2 Nov 2023 12:25:08 +0800 Subject: [PATCH] chore(.eslintrc.json): add "import/no-cycle" rule to enforce no circular dependencies in imports --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index 222d475..7e4e0aa 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -21,6 +21,7 @@ "prettier/prettier": "error", "arrow-body-style": "off", "prefer-arrow-callback": "off", + "import/no-cycle": "error", "sort-imports": [ "error", {