eslint-plugin-vitest
Advanced tools
Comparing version 0.0.7 to 0.0.8
{ | ||
"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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
19289
6
522
1
1