From 20fa700652ca033752696d3d7221f3dc9a1e047f Mon Sep 17 00:00:00 2001 From: gracetxgao <101677420+gracetxgao@users.noreply.github.com> Date: Tue, 17 Sep 2024 10:20:48 -0700 Subject: [PATCH] fix(eslint): move test describe depth rule to custom --- tools/eslint/config/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/eslint/config/index.js b/tools/eslint/config/index.js index c73bf54f46..ad7fce94b4 100644 --- a/tools/eslint/config/index.js +++ b/tools/eslint/config/index.js @@ -16,12 +16,6 @@ module.exports = { ], rules: { // ng-cli-compat - "jest/max-nested-describe": [ - "warn", - { - "max": 4 - }, - ], "@typescript-eslint/interface-name-prefix": "off", "@typescript-eslint/explicit-member-accessibility": "off", "sort-keys": "off", @@ -243,6 +237,12 @@ module.exports = { "@typescript-eslint/type-annotation-spacing": "error", // custom + "jest/max-nested-describe": [ + "warn", + { + "max": 4 + }, + ], '@typescript-eslint/no-unused-vars': 'off', 'prefer-arrow/prefer-arrow-functions': [ 'error',