-
Notifications
You must be signed in to change notification settings - Fork 55
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
fix: let eslint not to find config for virtual module #52
base: main
Are you sure you want to change the base?
Conversation
You can test this build by adding git url in place of version tag:
Also, repro is here:
|
needed this to be merged @gxmari007 |
When will this be merged? Until this is merged I can't use eslint with Vite and Storybook |
Hey there! You should consider vite-plugin-checker as a replacement for this plugin. It works without any problem, but also supports type checking. |
@con-dog You can try updating your vite config file to exclude virtual files:
|
No one took this comment seriously, but this is today an abandoned project, I mean 2 years (almost 3 w/o an update), thanks for the suggestion fixed our issues! |
fixes storybookjs/builder-vite#367
eslint tries to find config on executing
isPathIgnored
, and it errors if the config file does not exist.This PR suppresses to call eslint method in transforming virtual module.