diff --git a/app/client/.eslintrc.js b/app/client/.eslintrc.js index a263150ee5..a9e7e7978b 100644 --- a/app/client/.eslintrc.js +++ b/app/client/.eslintrc.js @@ -76,20 +76,6 @@ eslintConfig.overrides = [ getRestrictedSyntaxOverrideForCodeEditor(eslintConfig), }, }, - { - files: ["**/*.test.js", "*.test.ts", "*.test.tsx"], - rules: { - "no-restricted-syntax": [ - "error", - { - selector: - 'CallExpression[callee.object.name="it"][callee.property.name="only"], CallExpression[callee.object.name="describe"][callee.property.name="only"]', - message: - "Reason: Dangling *.only tests skip other tests in the file and reduce test coverage.", - }, - ], - }, - }, ]; function getRestrictedImportsOverrideForCodeEditor(eslintConfig) { diff --git a/app/client/cypress/.eslintrc.json b/app/client/cypress/.eslintrc.json index ced39001e9..662da81ece 100644 --- a/app/client/cypress/.eslintrc.json +++ b/app/client/cypress/.eslintrc.json @@ -13,19 +13,5 @@ "@typescript-eslint/no-non-null-assertion": "error", "cypress/unsafe-to-chain-command": "off", "@typescript-eslint/adjacent-overload-signatures": "off" - }, - "overrides": [ - { - "files": ["**/*[sS]pec.js", "**/*[sS]pec.ts"], - "rules": { - "no-restricted-syntax": [ - "error", - { - "selector": "CallExpression[callee.object.name=\"it\"][callee.property.name=\"only\"], CallExpression[callee.object.name=\"describe\"][callee.property.name=\"only\"]", - "message": "Reason: Dangling *.only tests skip other tests in the file and reduce test coverage." - } - ] - } - } - ] + } }