remove json from eslint

This commit is contained in:
Thomas Ruoff
2023-07-25 23:13:15 +02:00
parent b49ab9f9d5
commit 7082796347

View File

@@ -9,7 +9,7 @@ return {
config = function()
require('mason').setup()
require('mason-null-ls').setup {
ensure_installed = { 'stylua', 'jq', 'eslint_d' },
ensure_installed = { 'stylua', 'jq', 'eslint_d', 'jsonlint' },
automatic_setup = false,
automatic_installation = false,
}
@@ -50,12 +50,12 @@ return {
formatting.eslint_d.with {
cwd = h.cache.by_bufnr(eslint_d_cwd),
-- not sure how to scope this only to bcr's locales
extra_filetypes = { 'json' },
-- extra_filetypes = { 'json' },
},
code_actions.eslint_d.with {
cwd = h.cache.by_bufnr(eslint_d_cwd),
-- not sure how to scope this only to bcr's locales
extra_filetypes = { 'json' },
-- extra_filetypes = { 'json' },
},
-- refactoring
code_actions.refactoring,