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
2024-07-08 17:41:17 -07:00
committed by GitHub
parent 3220b94d20
commit 5c635d5038
10 changed files with 43 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ Execute(The defaults for the inko filetype should be correct):
AssertEqual [], GetLinterNames('inko')
Execute(The defaults for the json filetype should be correct):
AssertEqual ['jsonlint', 'spectral', 'vscodejson'], GetLinterNames('json')
AssertEqual ['biome', 'jsonlint', 'spectral', 'vscodejson'], GetLinterNames('json')
let g:ale_linters_explicit = 1
@@ -70,7 +70,7 @@ Execute(The defaults for the json5 filetype should be correct):
AssertEqual [], GetLinterNames('json5')
Execute(The defaults for the jsonc filetype should be correct):
AssertEqual [], GetLinterNames('jsonc')
AssertEqual ['biome'], GetLinterNames('jsonc')
Execute(The defaults for the perl filetype should be correct):
AssertEqual ['perlcritic'], GetLinterNames('perl')