Move hadolint to null-ls

This commit is contained in:
ViViDboarder 2022-01-10 14:53:16 -08:00
parent 7ba165af78
commit f99002e303
2 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ vim.g.ale_linters = {
markdown = {},
fish = {},
ansible = {},
dockerfile = {},
}
vim.g.ale_linter_aliases = {
markdown = { "text" },

View File

@ -239,6 +239,8 @@ function M.config_null_ls()
-- Lua
null_ls.builtins.diagnostics.luacheck,
null_ls.builtins.formatting.stylua,
-- Docker
null_ls.builtins.diagnostics.hadolint,
}
-- HACK: Handle old versions of null_ls for vim < 0.6 that don't support `setup`