Socket
Socket
Sign inDemoInstall

eslint-plugin-vitest

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-vitest - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

2

package.json
{
"name": "eslint-plugin-vitest",
"version": "0.0.14",
"version": "0.0.15",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Eslint plugin for vitest",

@@ -28,3 +28,11 @@ ## eslint-plugin-vitest

{
"plugins": ["vitest"]
"plugins": ["vitest"],
"rules": {
"vitest/max-nested-describe": [
"error",
{
"max": 3
}
]
}
}

@@ -43,22 +51,13 @@ ```

### Supported Rules
### List of supported rules
- No Skipped tests
- No Focused tests
- Lower case title
- Max number of nested describe blocks
| Name | Description |
|:----------------------------------------------------------|:--------------------------------------------------|
| [lower-case-title](src/rules/lower-case-title.ts) | Enforce lowercase test names |
| [max-nested-describe](src/rules/max-nested-describe.ts) | Enforces a maximum depth to nested describe calls |
| [no-focused-tests](src/rules/no-focused-tests.ts) | Disallow focused tests |
| [no-identical-title](src/rules/no-identical-title.ts) | Disallow identical titles |
| [no-skipped-tests](src/rules/no-skipped-tests.ts) | Disallow skipped tests |
| [no-conditional-tests](src/rules/no-conditional-tests.ts) | Disallow conditional tests |
```json
{
"rules": {
"vitest/max-nested-describe": [
"error",
{
"max": 3
}
]
}
}
```
#### Credits

@@ -65,0 +64,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc