-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
🐛 disabled linter doesn't show errors but autofixes them anyways #491
Comments
Please provide a minimal reproduction repository |
This issue has been automatically closed because it has been inactive for more than 3 days and it does not have a minimal reproduction. |
@nhedger @shulandmimi please see the minimal reproduction repository here https://github.com/Akuukis/biome-repro |
FYI to opt-in with the autofix on save, you need to use the The code action |
@ematipico thanks, I changed it (see commit) but the bug still stands as described. |
VS Code version
1.96.2
Extension version
2.3.2
Biome version
1.9.4
Operating system
Description
In VSCode I don't see linter errors when linter is disabled but biome fixes them anyways, e.g. this rule https://biomejs.dev/linter/rules/use-arrow-function/
With the following biome config
and the following vscode workspace config
Steps to reproduce
.js
file with a function that should be arrow function insteadExpected behavior
Don't autofix linter rules when linter is disabled.
Also in other words, fix only what's displayed as fixable.
Does this issue occur when using the CLI directly?
No
Link to a minimal reproduction
No response
Logs
The text was updated successfully, but these errors were encountered: