feat(lint.lua): Disable unused linters, define tofu

This commit is contained in:
iodeslykos 2025-02-02 08:12:19 -07:00
parent 5bdde24dfb
commit cad22c27d3
No known key found for this signature in database
GPG Key ID: 1F5DC5CBF6892371
1 changed files with 6 additions and 0 deletions

View File

@ -6,7 +6,13 @@ return {
config = function() config = function()
local lint = require 'lint' local lint = require 'lint'
lint.linters_by_ft = { lint.linters_by_ft = {
clojure = { nil },
inko = { nil },
janet = { nil },
markdown = { 'markdownlint' }, markdown = { 'markdownlint' },
terraform = { 'tflint'},
tofu = { 'tflint' },
text = { 'vale' },
} }
-- 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,