doesn't find ReferenceErrors? #2597
Replies: 0 comments 1 reply
-
found it myself... the rule is called no-undeclared-variables and it's not one of the recommended ones - wild! this is my updated config - probably should have posted this into the main biomejs discussion, since it's not the extensions fault. Maybe someone can move it? {
"$schema": "https://biomejs.dev/schemas/1.7.1/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": { "noUndeclaredVariables": "error" }
}
},
"formatter": {
"indentStyle": "space"
},
"javascript": {
"formatter": {
"semicolons": "asNeeded"
}
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I'm using biome and biome-vscode for the first time today. Setup was straight forward, so far so good - but I noticed, while showing linting errors, it doesn't show obvious
ReferenceErrors
?here you can see, while it's showing me that
forEach
should be replaced byfor...of
it does not show me, thatthisShouldBeAnError
is not existing and therefor will throw aReferenceError
.This is my biome.json
Did I miss something? Or will I still need eslint for those errors?
Beta Was this translation helpful? Give feedback.
All reactions