Closed 1v3n closed 5 months ago
Biome doesn't fully support Astro files, therefore I needed to set this:
"globals": ["Astro"]
@1v3n what do you set this?
"globals": ["Astro"]
@1v3n what do you set this?
"globals": ["Astro"]
javascript.globals
: https://biomejs.dev/reference/configuration/#javascriptglobals
Environment information
Hey,
inside an Astro file I get an false noUnusedVariables error.
My biome setup for that:
index.astro
Causes
Rule name
noUnusedVariables
Playground link
https://codesandbox.io/p/devbox/biome-bug-lkjq3m
Expected result
I would not expect an error, as the variable is used In the JSX part of the Astro file.
Code of Conduct