feat: enable linter

This commit is contained in:
tsorabel 2024-03-27 23:29:45 +01:00
parent e5a2bff2d1
commit 18721adc21
2 changed files with 8 additions and 1 deletions

View file

@ -7,6 +7,13 @@ return {
local lint = require 'lint'
lint.linters_by_ft = {
markdown = { 'markdownlint' },
typescript = { 'eslint_d' },
javascript = { 'eslint_d' },
typescriptreact = { 'eslint_d' },
javascriptreact = { 'eslint_d' },
-- dockerfile = { 'hadolint' },
json = { 'jsonlint' },
text = { 'vale' },
}
-- To allow other plugins to add linters to require('lint').linters_by_ft,