Update lint.lua

This commit is contained in:
Alex Hebert 2025-04-01 15:39:07 -04:00 committed by GitHub
parent e947649cb0
commit c458068870
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ return {
local lint = require 'lint' local lint = require 'lint'
lint.linters_by_ft = { lint.linters_by_ft = {
markdown = { 'markdownlint' }, markdown = { 'markdownlint' },
python = { 'ruff_format' },
json = { "jsonlint" },
go = {'golangci-lint'}
} }
-- 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,