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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Details
Using
eslint-plugin
failed to automatically repair the code. It works normally in@rsbuild/[email protected]
, 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
The text was updated successfully, but these errors were encountered: