add linters, enable plugins
This commit is contained in:
parent
4985d586af
commit
df1ccefc7a
2 changed files with 8 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue