Use ansible-lint
This commit is contained in:
parent
2ae504d8a1
commit
ef89124a26
|
@ -1,6 +1,6 @@
|
|||
require("lint").linters_by_ft = {
|
||||
python = { "flake8" },
|
||||
yaml = { "yamllint" },
|
||||
yaml = { "yamllint", "ansible_lint" },
|
||||
}
|
||||
|
||||
vim.cmd [[ autocmd BufWritePost * lua require('lint').try_lint() ]]
|
||||
|
|
Loading…
Reference in a new issue