fix: lint with ansible-lint

This commit is contained in:
Adrien Waksberg 2024-04-21 11:57:11 +02:00
parent 24f2a2bb1e
commit 02e246fc46
3 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,5 @@
require("lint").linters_by_ft = { require("lint").linters_by_ft = {
yaml = { "yamllint", "ansible_lint" }, yaml = { "yamllint" },
ansible = { "ansible_lint" },
markdown = { "markdownlint" }, markdown = { "markdownlint" },
} }

View file

@ -1,4 +1,8 @@
return { return {
{
"mfussenegger/nvim-ansible",
lazy = false,
},
{ {
"sindrets/diffview.nvim", "sindrets/diffview.nvim",
}, },

View file

@ -24,7 +24,7 @@ return {
"bash-language-server", "bash-language-server",
"shfmt", "shfmt",
"shellcheck", "shellcheck",
"ansible-language-server", "ansible-language-server@1.2.1",
"ansible-lint", "ansible-lint",
"yaml-language-server", "yaml-language-server",
"yamllint", "yamllint",