Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed instructions for legacy plugin name #499

Merged
merged 1 commit into from
Aug 11, 2024

Conversation

yairkukielka
Copy link
Contributor

@yairkukielka yairkukielka commented Aug 11, 2024

this PR fixes the instructions for the plugin name.

the current instructions

plugins: ['vitest']

give this error when running npm run lint in a package:

Oops! Something went wrong! :(

ESLint: 9.8.0

ESLint couldn't find the plugin "eslint-plugin-vitest".

(The package "eslint-plugin-vitest" was not found when loaded as a Node module from the directory "/Users/yair/p/vite-app-template".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

    npm install eslint-plugin-vitest@latest --save-dev
...

Copy link
Member

@veritem veritem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants