Skip to content

Commit

Permalink
docs: Use valid plugin name in ESLint v8 instructions (#525)
Browse files Browse the repository at this point in the history
* docs: Use valid plugin name in ESLint v8 instructions

* Update README.md
  • Loading branch information
kamilogorek committed Sep 9, 2024
1 parent e8d26a4 commit e66858b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Add `vitest` to the plugins section of your `.eslintrc` configuration file. You

```json
{
"plugins": ["@vitest"]
"plugins": ["vitest"]
}
```

Expand All @@ -69,7 +69,7 @@ If you're using old Eslint configuration, make sure to use legacy key like the f

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

Expand Down

0 comments on commit e66858b

Please sign in to comment.