mirror of
https://github.com/tomru/vim.git
synced 2026-03-03 06:27:18 +01:00
remove json from eslint
This commit is contained in:
@@ -9,7 +9,7 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
require('mason').setup()
|
require('mason').setup()
|
||||||
require('mason-null-ls').setup {
|
require('mason-null-ls').setup {
|
||||||
ensure_installed = { 'stylua', 'jq', 'eslint_d' },
|
ensure_installed = { 'stylua', 'jq', 'eslint_d', 'jsonlint' },
|
||||||
automatic_setup = false,
|
automatic_setup = false,
|
||||||
automatic_installation = false,
|
automatic_installation = false,
|
||||||
}
|
}
|
||||||
@@ -50,12 +50,12 @@ return {
|
|||||||
formatting.eslint_d.with {
|
formatting.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' },
|
||||||
},
|
},
|
||||||
code_actions.eslint_d.with {
|
code_actions.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' },
|
||||||
},
|
},
|
||||||
-- refactoring
|
-- refactoring
|
||||||
code_actions.refactoring,
|
code_actions.refactoring,
|
||||||
|
|||||||
Reference in New Issue
Block a user