chore(lint): add linters for dockerfile, json, python, terraform
This commit is contained in:
parent
89be630236
commit
a955cce2a9
|
@ -6,7 +6,11 @@ return {
|
||||||
config = function()
|
config = function()
|
||||||
local lint = require 'lint'
|
local lint = require 'lint'
|
||||||
lint.linters_by_ft = {
|
lint.linters_by_ft = {
|
||||||
|
dockerfile = { 'hadolint' },
|
||||||
|
json = { 'jsonlint' },
|
||||||
markdown = { 'markdownlint' },
|
markdown = { 'markdownlint' },
|
||||||
|
python = { 'pylint' },
|
||||||
|
terraform = { 'tflint' },
|
||||||
}
|
}
|
||||||
|
|
||||||
-- To allow other plugins to add linters to require('lint').linters_by_ft,
|
-- To allow other plugins to add linters to require('lint').linters_by_ft,
|
||||||
|
|
Loading…
Reference in New Issue