diff --git a/cypress/.eslintrc.js b/cypress/.eslintrc.js index 439f9b31d..9873882ee 100644 --- a/cypress/.eslintrc.js +++ b/cypress/.eslintrc.js @@ -18,7 +18,7 @@ module.exports = { 'import/prefer-default-export': 'off', 'no-unused-vars': ['error', { argsIgnorePattern: '^_' }], 'prefer-const': ['error'], - 'no-only-tests/no-only-tests': 'error', + 'no-only-tests/no-only-tests': ['error', { fix: true }], }, overrides: [ { diff --git a/package.json b/package.json index 01a9e70bd..557e02775 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "eslint-plugin-ignore-erb": "^0.1.1", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsx-a11y": "^6.3.1", - "eslint-plugin-no-only-tests": "^2.5.0", + "eslint-plugin-no-only-tests": "^2.6.0", "eslint-plugin-react": "^7.23.2", "faker": "^5.5.3", "gitdocs": "^2.0.0", diff --git a/yarn.lock b/yarn.lock index 2b99a76ed..48e76abd5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8250,10 +8250,10 @@ eslint-plugin-jsx-a11y@^6.3.1: jsx-ast-utils "^3.1.0" language-tags "^1.0.5" -eslint-plugin-no-only-tests@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-2.5.0.tgz#df949256f366b3111b69d65ffa590d136b5ecb17" - integrity sha512-kwETpAyBrWpB75UdncTCXFRLFVMNWvdIC0xCNReW5A1W3r2T/RYopxc3aA22ZPq5el1mAo6BmP3/8jiwhSSjnw== +eslint-plugin-no-only-tests@^2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-2.6.0.tgz#19f6c9620bda02b9b9221b436c5f070e42628d76" + integrity sha512-T9SmE/g6UV1uZo1oHAqOvL86XWl7Pl2EpRpnLI8g/bkJu+h7XBCB+1LnubRZ2CUQXj805vh4/CYZdnqtVaEo2Q== eslint-plugin-react-hooks@^4.2.0: version "4.2.0"