add linters, enable plugins

This commit is contained in:
Kerry Staley 2024-03-21 10:34:26 -07:00
parent 4985d586af
commit df1ccefc7a
2 changed files with 8 additions and 3 deletions

View file

@ -7,6 +7,10 @@ return {
local lint = require 'lint'
lint.linters_by_ft = {
markdown = { 'markdownlint' },
ruby = { 'rubocop' },
terraform = { 'tlint' },
json = { 'jsonlint' },
javascript = { 'eslint_d' },
}
-- To allow other plugins to add linters to require('lint').linters_by_ft,