chore(lint): add linters for dockerfile, json, python, terraform

This commit is contained in:
Juliano Barbosa 2024-09-24 11:24:14 -03:00
parent 89be630236
commit a955cce2a9
No known key found for this signature in database
GPG Key ID: EB8B440F57360B3D
1 changed files with 4 additions and 0 deletions

View File

@ -6,7 +6,11 @@ return {
config = function()
local lint = require 'lint'
lint.linters_by_ft = {
dockerfile = { 'hadolint' },
json = { 'jsonlint' },
markdown = { 'markdownlint' },
python = { 'pylint' },
terraform = { 'tflint' },
}
-- To allow other plugins to add linters to require('lint').linters_by_ft,