From a58b87893eb83393bd1b9ba2a7349575fe9d5091 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 24 Feb 2023 10:24:20 -0800 Subject: [PATCH] eslint: Prohibit import cycles in TypeScript. Signed-off-by: Anders Kaseorg --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index 2ad9960822..dab1b59c29 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" } },