Files
dotfiles/common/.config/nvim/lua/plugins/linting.lua
Pratik Tripathy 8f801384fd - Nvim Theme changed to github-dark-dimmed - keeps it in sync with the kitty theme
- Reorged multiple nvim settings (using LazyVim as primary now)
2024-01-18 21:54:32 +05:30

27 lines
937 B
Lua

return {
{
"mfussenegger/nvim-lint",
opts = {
linters_by_ft = {
text = { "vale" },
json = { "jsonlint" },
markdown = { "markdownlint", "vale" },
rst = { "vale" },
dockerfile = { "hadolint" },
go = { "golangcilint" },
jq = { "jq" },
bash = { "shellcheck" },
shell = { "shellcheck" },
yaml = { "yamllint" },
zsh = { "zsh" },
typescript = { "eslint_d" },
javascript = { "eslint_d" },
-- Use the "*" filetype to run linters on all filetypes.
-- ['*'] = { 'global linter' },
-- Use the "_" filetype to run linters on filetypes that don't have other linters configured.
-- ['_'] = { 'fallback linter' },
},
},
},
}