-
-
Notifications
You must be signed in to change notification settings - Fork 498
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
"Suppress rule" quickfix removes indentation #1697
Labels
A-Linter
Area: linter
S-Enhancement
Status: Improve an existing feature
S-Help-wanted
Status: you're familiar with the code base and want to help the project
Comments
ematipico
added
S-Help-wanted
Status: you're familiar with the code base and want to help the project
A-Linter
Area: linter
S-Enhancement
Status: Improve an existing feature
labels
Jan 29, 2024
For anyone who wants to help with this issue, the code to fix the issue should be here: biome/crates/biome_js_analyze/src/suppression_action.rs Lines 117 to 154 in f7d4683
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-Linter
Area: linter
S-Enhancement
Status: Improve an existing feature
S-Help-wanted
Status: you're familiar with the code base and want to help the project
Biome version
1.5.3
VSCode version
1.85.2
Extension version
2.1.2
Steps:
Enable
lint/suspicious/noAssignInExpressions
andlint/suspicious/noConsoleLog
.Code
Apply quickfix
To assignment (notice the two spaces after
while
too):To
console.log
:The text was updated successfully, but these errors were encountered: