fix(write-good): disable linting for weasel words

This commit is contained in:
Oliver Ladner 2026-05-26 10:01:50 +02:00
commit 9beee4ed6a

View file

@ -29,6 +29,7 @@ return {
},
config = function()
local lint = require("lint")
lint.linters.write_good.args = { "--parse", "--no-weasel" }
lint.linters_by_ft = {
javascript = { "eslint_d" },
@ -37,8 +38,6 @@ return {
typescriptreact = { "eslint_d" },
svelte = { "eslint_d" },
python = { "ruff" },
-- lua = { "woke" },
-- ansible = { "woke" },
markdown = { "proselint", "write_good" },
text = { "gitleaks", "proselint", "write_good" },
sh = { "gitleaks" },