fix: Apply alex to prose types only

This commit is contained in:
punkfairie 2025-03-17 19:44:42 -07:00
parent 119e6df3c5
commit 366799025a
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6

View file

@ -3,21 +3,23 @@ return {
'mfussenegger/nvim-lint', 'mfussenegger/nvim-lint',
opts = { opts = {
linters_by_ft = { linters_by_ft = {
['*'] = { 'codespell', 'editorconfig-checker', 'alex' }, ['*'] = { 'codespell', 'editorconfig-checker' },
bash = { 'shellcheck' }, bash = { 'shellcheck' },
css = { 'stylelint' }, css = { 'stylelint' },
django = { 'djlint' }, django = { 'djlint', 'alex' },
env = { 'dotenv-linter' }, env = { 'dotenv-linter' },
ghaction = { 'zizmor' }, ghaction = { 'zizmor' },
handlebars = { 'djlint' }, handlebars = { 'djlint', 'alex' },
html = { 'htmlhint' }, html = { 'htmlhint', 'alex' },
jinja = { 'djlint' }, jinja = { 'djlint', 'alex' },
mustache = { 'djlint' }, markdown = { 'alex' },
mustache = { 'djlint', 'alex' },
nix = { 'deadnix', 'statix' }, nix = { 'deadnix', 'statix' },
nunjucks = { 'djlint' }, nunjucks = { 'djlint', 'alex' },
scss = { 'stylelint' }, scss = { 'stylelint' },
sh = { 'shellcheck' }, sh = { 'shellcheck' },
twig = { 'djlint' }, twig = { 'djlint' },
txt = { 'alex' },
yaml = { 'yamllint' }, yaml = { 'yamllint' },
zsh = { 'zsh' }, zsh = { 'zsh' },
}, },