-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
[Bug]: eslint plugin
Not working properly
#6432
Comments
It seems like a regression of Rspack, I will transfer this issue to the Rspack repo. |
Using |
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
@9aoy cc |
This issue is fixed in rspack-contrib/eslint-rspack-plugin#4, you can use |
Version
Details
Using
eslint-plugin
failed to automatically repair the code. It works normally in@rsbuild/cord@0.4.15
, but it does not work properly in version 0.5.0 or above.I tried it with the official example, but there were also problems.
Example link:
https://github.com/rspack-contrib/rspack-examples/tree/main/rsbuild/vue3-eslint
eslint plugin
to automatically repair configuration.eslintrc.cjs
index.ts
, all single quotes should be changed to double quotes.The above code can work normally in @0.4.15, but as long as you upgrade
@rsbuild/core
,@rsbuild/plugin-eslint
,@rsbuild/plugin
Problems will occur, there is no automatic fix,@rsbuild/plugin-eslint
andeslint-webpack-plugin
have similar problems just because the version number has changed, nothing else. Change, could this problem be caused byrspack
?Reproduce link
https://github.com/rspack-contrib/rspack-examples/tree/main/rsbuild/vue3-eslint
Reproduce Steps
1.
git clone https://github.com/rspack-contrib/rspack-examples
2.
pnpm install
3.
cd rsbuild/vue3-eslint
4.
pnpm dev
Tasks
The text was updated successfully, but these errors were encountered: