Skip to content

Commit

Permalink
chore(docs): update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
veritem committed Apr 23, 2024
1 parent 2d95ccf commit c6e3cb6
Show file tree
Hide file tree
Showing 22 changed files with 275 additions and 252 deletions.
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@ Then configure the rules you want to use under the rules section.
}
```

If you're using old Eslint configuration, make sure to use legacy key like the following

```js
{
"extends": ["plugin:vitest/legacy-recommended"] // or legacy-all
}
```


#### Enabling with type-testing

Vitest ships with an optional [type-testing feature](https://vitest.dev/guide/testing-types), which is disabled by default.
Expand Down
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default [
vitest.configs.recommended,
vitest.configs.env,
{
ignores: ['node_modules/*', 'dist/*', '**/*.md'],
files: ['**/*.ts', '**/*.js'],
plugins: {
vitest,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"@veritem/eslint-config": "^0.0.11",
"bumpp": "^9.4.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint": "^9.1.1",
"eslint-doc-generator": "^1.7.0",
"eslint-plugin-eslint-plugin": "^5.5.1",
"eslint-plugin-eslint-plugin": "^6.0.0",
"eslint-plugin-vitest": "0.5.3",
"eslint-remote-tester": "^3.0.1",
"eslint-remote-tester-repositories": "^1.0.1",
Expand Down

0 comments on commit c6e3cb6

Please sign in to comment.