From 8020c312519cd6a362b865c4562edc51729b7209 Mon Sep 17 00:00:00 2001 From: Yiqing Zhao Date: Wed, 3 Jul 2024 16:55:29 +0800 Subject: [PATCH] build: update import/no-cycle eslint rule (#11950) --- packages/eslint-plugin-teamsfx/config/shared.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-plugin-teamsfx/config/shared.js b/packages/eslint-plugin-teamsfx/config/shared.js index 118c61ec2e..2e447b1bd1 100644 --- a/packages/eslint-plugin-teamsfx/config/shared.js +++ b/packages/eslint-plugin-teamsfx/config/shared.js @@ -34,7 +34,7 @@ module.exports = { "@typescript-eslint/no-var-requires": 0, "@typescript-eslint/no-empty-function": 0, "import/no-cycle": [ - "warn", + "error", { maxDepth: Infinity, ignoreExternal: true,