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.5 to 0.0.6

11

package.json
{
"name": "eslint-plugin-vitest",
"version": "0.0.5",
"version": "0.0.6",
"license": "MIT",

@@ -53,8 +53,11 @@ "description": "Eslint plugin for vitest",

"build": "unbuild",
"lint": "eslint 'src/**/*.ts' --fix",
"test": "vitest --watch",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"test": "vitest",
"test:ci": "vitest run",
"format": "prettier --write --plugin-search-dir=. .",
"format:check": "prettier --check --plugin-search-dir=. .",
"release": "bumpp package.json --commit --push --tag && pnpm publish"
},
"readme": "## eslint-plugin-vitest\n\n![npm](https://img.shields.io/npm/v/eslint-plugin-vitest)\n\nEslint plugin for vitest\n\n### Installation\n\nYou'll first need to install [ESLint](https://eslint.org/):\n\n```sh\nnpm i eslint --save-dev\n```\n\nNext, install `eslint-plugin-vitest`:\n\n```sh\nnpm install eslint-plugin-vitest --save-dev\n```\n\n### Usage\n\nAdd `vitest` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n \"plugins\": [\"vitest\"]\n}\n```\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n \"rules\": {\n \"vitest/no-skipped-tests\": 2\n }\n}\n```\n\n### Supported Rules\n\n- No Skipped tests \n- Lower case title\n\n\n### Licence \n\n[MIT](https://github.com/veritem/eslint-plugin-vitest/blob/main/LICENSE) Licence © 2022 - present [veritem](https://github.com/veritem)\n"
"readme": "## eslint-plugin-vitest\n\n\n![npm](https://img.shields.io/npm/v/eslint-plugin-vitest)\n[![ci](https://github.com/veritem/eslint-plugin-vitest/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/veritem/eslint-plugin-vitest/actions/workflows/ci.yml)\n\n\n> Disclaimer: This package is very experimental\n\nEslint plugin for vitest\n\n### Installation\n\nYou'll first need to install [ESLint](https://eslint.org/):\n\n```sh\nnpm i eslint --save-dev\n```\n\nNext, install `eslint-plugin-vitest`:\n\n```sh\nnpm install eslint-plugin-vitest --save-dev\n```\n\n### Usage\n\nAdd `vitest` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n \"plugins\": [\"vitest\"]\n}\n```\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n \"rules\": {\n \"vitest/no-skipped-tests\": 2\n }\n}\n```\n\n### Supported Rules\n\n- No Skipped tests \n- Lower case title\n- Max number of nested describe blocks\n```json\n{\n \"rules\": {\n \"vitest/max-nested-describe\": [\n \"error\",\n {\n \"max\": 3\n }\n ],\n }\n}\n```\n\n\n### Licence \n\n[MIT](https://github.com/veritem/eslint-plugin-vitest/blob/main/LICENSE) Licence © 2022 - present [veritem](https://github.com/veritem)\n"
}
## eslint-plugin-vitest
![npm](https://img.shields.io/npm/v/eslint-plugin-vitest)
[![ci](https://github.com/veritem/eslint-plugin-vitest/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/veritem/eslint-plugin-vitest/actions/workflows/ci.yml)
> Disclaimer: This package is very experimental
Eslint plugin for vitest

@@ -45,2 +50,15 @@

- Lower case title
- Max number of nested describe blocks
```json
{
"rules": {
"vitest/max-nested-describe": [
"error",
{
"max": 3
}
],
}
}
```

@@ -47,0 +65,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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