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
ALE linting .tsx as .ts files when using Biome #4752
Labels
Comments
redbmk
added a commit
to redbmk/ale
that referenced
this issue
May 13, 2024
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: dense-analysis#4752
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Information
VIM version
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Feb 11 2024 17:19:45)
macOS version - arm64
Operating System: Mac OS 13.2.1
What went wrong
I've added and configured Biome for my React/Typescript project and I suspect ALE/Biome is linting my
.tsx
files astypescript
files rather thantypescriptreact
files.Reproducing the bug
feat/biome
.main.tsx
and see the linting errors.:ALEInfo
Expand
Current Filetype: typescriptreact
Available Linters: ['biome', 'cspell', 'deno', 'eslint', 'standard', 'tslint', 'tsserver', 'typecheck', 'xo']
Enabled Linters: ['biome']
Ignored Linters: []
Suggested Fixers:
'remove_trailing_lines' - Remove all blank lines at the end of a file.
'trim_whitespace' - Remove all trailing whitespace characters at the end of every line.
The text was updated successfully, but these errors were encountered: