eslint-plugin-vitest
Advanced tools
Comparing version 0.0.34 to 0.0.35
@@ -12,5 +12,16 @@ declare const _default: { | ||
"prefer-to-be": any; | ||
"no-hooks": any; | ||
}; | ||
configs: { | ||
all: { | ||
plugins: string[]; | ||
rules: any; | ||
}; | ||
recommended: { | ||
plugins: string[]; | ||
rules: any; | ||
}; | ||
}; | ||
}; | ||
export { _default as default }; |
{ | ||
"name": "eslint-plugin-vitest", | ||
"version": "0.0.34", | ||
"version": "0.0.35", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Eslint plugin for vitest", |
@@ -47,2 +47,24 @@ ## eslint-plugin-vitest | ||
#### Recommended | ||
To use the recommended configuration, extend it in your `.eslintrc` file: | ||
```json | ||
{ | ||
"extends": ["plugin:vitest/recommended"] | ||
} | ||
``` | ||
#### all | ||
To use the all configuration, extend it in your `.eslintrc` file: | ||
```json | ||
{ | ||
"extends": ["plugin:vitest/all"] | ||
} | ||
``` | ||
### Rules | ||
@@ -61,2 +83,3 @@ | ||
| [no-focused-tests](docs/rules/no-focused-tests.md) | Disallow focused tests | 🔧 | | ||
| [no-hooks](docs/rules/no-hooks.md) | Disallow setup and teardown hooks | | | ||
| [no-identical-title](docs/rules/no-identical-title.md) | Disallow identical titles | 🔧 | | ||
@@ -63,0 +86,0 @@ | [no-skipped-tests](docs/rules/no-skipped-tests.md) | Disallow skipped tests | | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73450
2044
97