eslint: Enable import/no-cycle rule.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-10-10 10:54:27 -07:00 committed by Tim Abbott
parent 881da05cd3
commit 0fd4e309d5
1 changed files with 1 additions and 1 deletions

View File

@ -50,6 +50,7 @@
"import/extensions": "error", "import/extensions": "error",
"import/first": "error", "import/first": "error",
"import/newline-after-import": "error", "import/newline-after-import": "error",
"import/no-cycle": ["error", {"ignoreExternal": true}],
"import/no-duplicates": "error", "import/no-duplicates": "error",
"import/no-self-import": "error", "import/no-self-import": "error",
"import/no-unresolved": "off", "import/no-unresolved": "off",
@ -193,7 +194,6 @@
"@typescript-eslint/no-use-before-define": ["error", {"functions": false}], "@typescript-eslint/no-use-before-define": ["error", {"functions": false}],
"@typescript-eslint/parameter-properties": "error", "@typescript-eslint/parameter-properties": "error",
"@typescript-eslint/promise-function-async": "error", "@typescript-eslint/promise-function-async": "error",
"import/no-cycle": "error",
"no-undef": "error" "no-undef": "error"
} }
}, },