summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBraden Kelley <redbmk@gmail.com>2024-07-08 17:41:17 -0700
committerGitHub <noreply@github.com>2024-07-09 09:41:17 +0900
commit5c635d5038b9faae88a432d7f2f1b93ef3cf44f3 (patch)
tree62a86ee8d5ac97b2d87950d446be844ceb4697ee /test
parent3220b94d2053e8051023fc6f79c00651071b1440 (diff)
downloadale-5c635d5038b9faae88a432d7f2f1b93ef3cf44f3.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/test_filetype_linter_defaults.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_filetype_linter_defaults.vader b/test/test_filetype_linter_defaults.vader
index b4b6380d..69d83d84 100644
--- a/test/test_filetype_linter_defaults.vader
+++ b/test/test_filetype_linter_defaults.vader
@@ -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')