mirror of
https://github.com/tomru/vim.git
synced 2026-03-02 22:17:17 +01:00
remove json from eslint
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user