Skip to content

Commit

Permalink
add new editor linters
Browse files Browse the repository at this point in the history
  • Loading branch information
geloman committed Dec 10, 2024
1 parent f8ef78e commit b82a6d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nvim/lua/plugins/linting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@ return {
'mfussenegger/nvim-lint',
config = function()
require('lint').linters_by_ft = {
sh = { 'shellcheck' },
yaml = { 'yamllint' },
python = { 'pylint' },
terraform = { 'tflint' },
javascript = { 'eslint' },
typescript = { 'eslint' },
javascriptreact = { 'eslint' },
typescriptreact = { 'eslint' },
['yaml.ansible'] = { 'ansible_lint' },
}
end,

Expand Down

0 comments on commit b82a6d2

Please sign in to comment.