From 0fd4e309d52c78cab50d4acbc3cb0291ba09c3cc Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 10 Oct 2023 10:54:27 -0700 Subject: [PATCH] eslint: Enable import/no-cycle rule. Signed-off-by: Anders Kaseorg --- .eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 3f96956909..d91f1f4414 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -50,6 +50,7 @@ "import/extensions": "error", "import/first": "error", "import/newline-after-import": "error", + "import/no-cycle": ["error", {"ignoreExternal": true}], "import/no-duplicates": "error", "import/no-self-import": "error", "import/no-unresolved": "off", @@ -193,7 +194,6 @@ "@typescript-eslint/no-use-before-define": ["error", {"functions": false}], "@typescript-eslint/parameter-properties": "error", "@typescript-eslint/promise-function-async": "error", - "import/no-cycle": "error", "no-undef": "error" } },