Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

eslint: Enable import/no-cycle rule.

Anders Kaseorg0fd4e309d52c
diff --git a/.eslintrc.json b/.eslintrc.json
index 3f969569092..d91f1f44140 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"
}
},