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:
parent
b4563f8542
commit
fc3e40ecde
4 changed files with 10 additions and 13 deletions
10
biome.json
10
biome.json
|
@ -61,6 +61,16 @@
|
||||||
"lineWidth": 1
|
"lineWidth": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"include": ["*.test.js"],
|
||||||
|
"linter": {
|
||||||
|
"rules": {
|
||||||
|
"suspicious": {
|
||||||
|
"noFocusedTests": "error"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,6 @@ import { builtinModules } from 'node:module';
|
||||||
import tseslint from 'typescript-eslint';
|
import tseslint from 'typescript-eslint';
|
||||||
|
|
||||||
// plugins
|
// plugins
|
||||||
import noOnlyTestsEslint from 'eslint-plugin-no-only-tests';
|
|
||||||
import regexpEslint from 'eslint-plugin-regexp';
|
import regexpEslint from 'eslint-plugin-regexp';
|
||||||
const typescriptEslint = tseslint.plugin;
|
const typescriptEslint = tseslint.plugin;
|
||||||
|
|
||||||
|
@ -47,7 +46,6 @@ export default [
|
||||||
},
|
},
|
||||||
plugins: {
|
plugins: {
|
||||||
'@typescript-eslint': typescriptEslint,
|
'@typescript-eslint': typescriptEslint,
|
||||||
'no-only-tests': noOnlyTestsEslint,
|
|
||||||
regexp: regexpEslint,
|
regexp: regexpEslint,
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
@ -62,7 +60,6 @@ export default [
|
||||||
ignoreRestSiblings: true,
|
ignoreRestSiblings: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
'no-only-tests/no-only-tests': 'error',
|
|
||||||
'@typescript-eslint/no-shadow': 'error',
|
'@typescript-eslint/no-shadow': 'error',
|
||||||
'no-console': 'warn',
|
'no-console': 'warn',
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,6 @@
|
||||||
"@types/node": "^18.17.8",
|
"@types/node": "^18.17.8",
|
||||||
"esbuild": "^0.21.5",
|
"esbuild": "^0.21.5",
|
||||||
"eslint": "^9.10.0",
|
"eslint": "^9.10.0",
|
||||||
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
||||||
"eslint-plugin-regexp": "^2.6.0",
|
"eslint-plugin-regexp": "^2.6.0",
|
||||||
"globby": "^14.0.2",
|
"globby": "^14.0.2",
|
||||||
"only-allow": "^1.2.1",
|
"only-allow": "^1.2.1",
|
||||||
|
|
|
@ -33,9 +33,6 @@ importers:
|
||||||
eslint:
|
eslint:
|
||||||
specifier: ^9.10.0
|
specifier: ^9.10.0
|
||||||
version: 9.10.0(jiti@1.21.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:
|
eslint-plugin-regexp:
|
||||||
specifier: ^2.6.0
|
specifier: ^2.6.0
|
||||||
version: 2.6.0(eslint@9.10.0(jiti@1.21.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==}
|
resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}
|
||||||
engines: {node: '>=12'}
|
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:
|
eslint-plugin-regexp@2.6.0:
|
||||||
resolution: {integrity: sha512-FCL851+kislsTEQEMioAlpDuK5+E5vs0hi1bF8cFlPlHcEjeRhuAzEsGikXRreE+0j4WhW2uO54MqTjXtYOi3A==}
|
resolution: {integrity: sha512-FCL851+kislsTEQEMioAlpDuK5+E5vs0hi1bF8cFlPlHcEjeRhuAzEsGikXRreE+0j4WhW2uO54MqTjXtYOi3A==}
|
||||||
engines: {node: ^18 || >=20}
|
engines: {node: ^18 || >=20}
|
||||||
|
@ -13796,8 +13789,6 @@ snapshots:
|
||||||
|
|
||||||
escape-string-regexp@5.0.0: {}
|
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)):
|
eslint-plugin-regexp@2.6.0(eslint@9.10.0(jiti@1.21.0)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.0))
|
'@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.0))
|
||||||
|
|
Loading…
Reference in a new issue