mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 11:50:42 +08:00
Add no-only-test linter rule
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
+2
-1
@@ -35,9 +35,10 @@
|
||||
"globals": {
|
||||
"$$Generic": "readonly"
|
||||
},
|
||||
"plugins": ["@typescript-eslint"],
|
||||
"plugins": ["@typescript-eslint", "no-only-tests"],
|
||||
"rules": {
|
||||
"semi": "off",
|
||||
"no-only-tests/no-only-tests": "error",
|
||||
"curly": ["error", "multi-line", "consistent"],
|
||||
"keyword-spacing": ["error"],
|
||||
"no-implicit-globals": ["error"],
|
||||
|
||||
Generated
+10
@@ -44,6 +44,7 @@
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
||||
"chalk": "^5.2.0",
|
||||
"eslint": "^8.41.0",
|
||||
"eslint-plugin-no-only-tests": "^3.1.0",
|
||||
"eslint-plugin-svelte": "^2.29.0",
|
||||
"execa": "^7.1.1",
|
||||
"exit-hook": "^3.2.0",
|
||||
@@ -1850,6 +1851,15 @@
|
||||
"url": "https://opencollective.com/eslint"
|
||||
}
|
||||
},
|
||||
"node_modules/eslint-plugin-no-only-tests": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-3.1.0.tgz",
|
||||
"integrity": "sha512-Lf4YW/bL6Un1R6A76pRZyE1dl1vr31G/ev8UzIc/geCgFWyrKil8hVjYqWVKGB/UIGmb6Slzs9T0wNezdSVegw==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=5.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/eslint-plugin-svelte": {
|
||||
"version": "2.29.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-2.29.0.tgz",
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
||||
"chalk": "^5.2.0",
|
||||
"eslint": "^8.41.0",
|
||||
"eslint-plugin-no-only-tests": "^3.1.0",
|
||||
"eslint-plugin-svelte": "^2.29.0",
|
||||
"execa": "^7.1.1",
|
||||
"exit-hook": "^3.2.0",
|
||||
|
||||
Reference in New Issue
Block a user