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: Prohibit import cycles in TypeScript.

Anders Kaseorga58b87893eb8
diff --git a/.eslintrc.json b/.eslintrc.json
index 2ad9960822a..dab1b59c299 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -193,6 +193,7 @@
"@typescript-eslint/prefer-string-starts-ends-with": "error",
"@typescript-eslint/promise-function-async": "error",
"@typescript-eslint/unified-signatures": "error",
+ "import/no-cycle": "error",
"no-undef": "error"
}
},