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.7 to 0.0.8

dist/index.d.ts

4

package.json
{
"name": "eslint-plugin-vitest",
"version": "0.0.7",
"version": "0.0.8",
"license": "MIT",

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

"format:check": "prettier --check --plugin-search-dir=. .",
"release": "bumpp package.json --commit --push --tag && pnpm publish"
"release": "pnpm build && 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[![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> 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\n```json\n{\n \"rules\": {\n \"vitest/max-nested-describe\": [\n \"error\",\n {\n \"max\": 3\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"
}

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