use jsonlint for json in nullls

This commit is contained in:
Thomas Ruoff
2023-07-03 08:58:25 +02:00
parent 1f9ad72877
commit 266ee8cb16

View File

@@ -39,11 +39,13 @@ return {
-- Anything not supported by mason. -- Anything not supported by mason.
-- lua -- lua
formatting.stylua, formatting.stylua,
--json
diagnostics.jsonlint,
-- eslint -- eslint
diagnostics.eslint_d.with { diagnostics.eslint_d.with {
cwd = h.cache.by_bufnr(eslint_d_cwd), cwd = h.cache.by_bufnr(eslint_d_cwd),
-- not sure how to scope this only to bcr's locales -- not sure how to scope this only to bcr's locales
extra_filetypes = { 'json' }, -- extra_filetypes = { 'json' },
}, },
formatting.eslint_d.with { formatting.eslint_d.with {
cwd = h.cache.by_bufnr(eslint_d_cwd), cwd = h.cache.by_bufnr(eslint_d_cwd),