added markdown linting and formatting

This commit is contained in:
adollar 2025-06-29 19:42:27 +01:00
parent c35e42337a
commit fd43e168ee
6 changed files with 90 additions and 71 deletions

View file

@ -6,7 +6,13 @@ return {
config = function()
local lint = require 'lint'
lint.linters_by_ft = {
yaml = { 'yamllint' },
markdown = { 'markdownlint' },
typescript = { 'eslint_d' },
javascript = { 'eslint_d' },
vue = { 'eslint_d' },
--python = { 'ruff' } linting already provided by ruff,
json = { 'jsonlint' },
}
-- To allow other plugins to add linters to require('lint').linters_by_ft,