Fix 4004 - Disable eslint by default for json. (#4023)

* Fix 4004 - Disable eslint by default for json.

This PR disables, or more correctly, excludes eslint from the list of
default linters for json files.

Also fixes elixir, go, json5, and jsonc files documentation and default
linters to make them consistent.

* Fix and improve tests
This commit is contained in:
Horacio Sanson authored and GitHub committed 2022-01-05 22:33:00 +09:00
1 parent 7b8e711877
commit 5a5029b73d
3 files changed
+69 -15

No files matched your search

+4 -1
View File
@@ -45,13 +45,16 @@ let s:default_ale_linters = {
\ 'hack': ['hack'],
\ 'help': [],
\ 'inko': ['inko'],
\ 'json': ['jsonlint', 'spectral'],
\ 'json5': [],
\ 'jsonc': [],
\ 'perl': ['perlcritic'],
\ 'perl6': [],
\ 'python': ['flake8', 'mypy', 'pylint', 'pyright'],
\ 'rust': ['cargo', 'rls'],
\ 'spec': [],
\ 'text': [],
\ 'vue': ['eslint', 'vls'],
\ 'vue': ['vls', 'eslint'],
\ 'zsh': ['shell'],
\ 'v': ['v'],
\}