feat(biome): add support for json and jsonc (#4805)

- adds biome linter for json and jsonc
- enables biome by default for json and jsonc
- suggests biome as a fixer for json and jsonc
This commit is contained in:
Braden Kelley authored and GitHub committed 2024-07-09 09:41:17 +09:00
1 parent 3220b94d20
commit 5c635d5038
10 files changed
+43 -5

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
" Description: biome for jsonc files
call ale#linter#Define('jsonc', {
\ 'name': 'biome',
\ 'lsp': 'stdio',
\ 'language': function('ale#handlers#biome#GetLanguage'),
\ 'executable': function('ale#handlers#biome#GetExecutable'),
\ 'command': '%e lsp-proxy',
\ 'project_root': function('ale#handlers#biome#GetProjectRoot'),
\})