Since Biome understands typescriptreact and javascriptreact as languages, we can send the filetype to the LSP, rather than only sending typescript for both ts and tsx files, or javascript for js and jsx files.
fixes: #4752
I moved the ale_typescript_biome.vader tests to just ale_biome.vader since it covers multiple languages, and I added some tests for this case. I also fixed what seemed like an issue with the biome tests where if the linters run first then the fixers fail. Now it saves the variables and resets them before the tests.
Linting and biome vader tests both pass locally for me
Since Biome understands
typescriptreact
andjavascriptreact
as languages, we can send thefiletype
to the LSP, rather than only sendingtypescript
for bothts
andtsx
files, orjavascript
forjs
andjsx
files.fixes: #4752
I moved the
ale_typescript_biome.vader
tests to justale_biome.vader
since it covers multiple languages, and I added some tests for this case. I also fixed what seemed like an issue with the biome tests where if the linters run first then the fixers fail. Now it saves the variables and resets them before the tests.Linting and biome vader tests both pass locally for me