eslint: Prohibit import cycles in TypeScript.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-02-24 10:24:20 -08:00 committed by Tim Abbott
parent e65f48b619
commit a58b87893e
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@
"@typescript-eslint/prefer-string-starts-ends-with": "error", "@typescript-eslint/prefer-string-starts-ends-with": "error",
"@typescript-eslint/promise-function-async": "error", "@typescript-eslint/promise-function-async": "error",
"@typescript-eslint/unified-signatures": "error", "@typescript-eslint/unified-signatures": "error",
"import/no-cycle": "error",
"no-undef": "error" "no-undef": "error"
} }
}, },