Add json linting config
This commit is contained in:
parent
17450661d3
commit
65836158fa
1
init.lua
1
init.lua
|
@ -633,6 +633,7 @@ require('lazy').setup({
|
|||
},
|
||||
},
|
||||
},
|
||||
jsonlint = {},
|
||||
--
|
||||
|
||||
lua_ls = {
|
||||
|
|
|
@ -7,6 +7,7 @@ return {
|
|||
local lint = require 'lint'
|
||||
lint.linters_by_ft = {
|
||||
markdown = { 'markdownlint' },
|
||||
json = { 'jsonlint' },
|
||||
}
|
||||
|
||||
-- To allow other plugins to add linters to require('lint').linters_by_ft,
|
||||
|
|
Loading…
Reference in New Issue