0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

chore: remove eslint-plugin-no-only-tests (#12032)

This commit is contained in:
Emanuele Stoppa 2024-09-19 14:41:22 +01:00 committed by GitHub
parent b4563f8542
commit fc3e40ecde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 13 deletions

View file

@ -61,6 +61,16 @@
"lineWidth": 1
}
}
},
{
"include": ["*.test.js"],
"linter": {
"rules": {
"suspicious": {
"noFocusedTests": "error"
}
}
}
}
]
}

View file

@ -5,7 +5,6 @@ import { builtinModules } from 'node:module';
import tseslint from 'typescript-eslint';
// plugins
import noOnlyTestsEslint from 'eslint-plugin-no-only-tests';
import regexpEslint from 'eslint-plugin-regexp';
const typescriptEslint = tseslint.plugin;
@ -47,7 +46,6 @@ export default [
},
plugins: {
'@typescript-eslint': typescriptEslint,
'no-only-tests': noOnlyTestsEslint,
regexp: regexpEslint,
},
rules: {
@ -62,7 +60,6 @@ export default [
ignoreRestSiblings: true,
},
],
'no-only-tests/no-only-tests': 'error',
'@typescript-eslint/no-shadow': 'error',
'no-console': 'warn',

View file

@ -59,7 +59,6 @@
"@types/node": "^18.17.8",
"esbuild": "^0.21.5",
"eslint": "^9.10.0",
"eslint-plugin-no-only-tests": "^3.3.0",
"eslint-plugin-regexp": "^2.6.0",
"globby": "^14.0.2",
"only-allow": "^1.2.1",

View file

@ -33,9 +33,6 @@ importers:
eslint:
specifier: ^9.10.0
version: 9.10.0(jiti@1.21.0)
eslint-plugin-no-only-tests:
specifier: ^3.3.0
version: 3.3.0
eslint-plugin-regexp:
specifier: ^2.6.0
version: 2.6.0(eslint@9.10.0(jiti@1.21.0))
@ -8192,10 +8189,6 @@ packages:
resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}
engines: {node: '>=12'}
eslint-plugin-no-only-tests@3.3.0:
resolution: {integrity: sha512-brcKcxGnISN2CcVhXJ/kEQlNa0MEfGRtwKtWA16SkqXHKitaKIMrfemJKLKX1YqDU5C/5JY3PvZXd5jEW04e0Q==}
engines: {node: '>=5.0.0'}
eslint-plugin-regexp@2.6.0:
resolution: {integrity: sha512-FCL851+kislsTEQEMioAlpDuK5+E5vs0hi1bF8cFlPlHcEjeRhuAzEsGikXRreE+0j4WhW2uO54MqTjXtYOi3A==}
engines: {node: ^18 || >=20}
@ -13796,8 +13789,6 @@ snapshots:
escape-string-regexp@5.0.0: {}
eslint-plugin-no-only-tests@3.3.0: {}
eslint-plugin-regexp@2.6.0(eslint@9.10.0(jiti@1.21.0)):
dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.0))