From cda2118001c73f3ae7f3ff113f9c57171dbff950 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sun, 5 Jun 2022 20:42:38 +0430 Subject: linter for docker --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vimrc b/.vimrc index b771903..11ccd68 100644 --- a/.vimrc +++ b/.vimrc @@ -1472,6 +1472,10 @@ augroup ALELUA autocmd FileType lua let b:ale_linters = {'lua': ['luacheck']} autocmd FileType lua let b:ale_fixers = {'lua': ['lua-format']} augroup END +augroup ALEDOCKER + autocmd! + autocmd FileType Dockerfile let b:ale_linters = {'Dockerfile': ['hadolint']} +augroup END " let b:ale_sh_shfmt_options = '-w -p -i=2 -bn -ci -sr -kp' let b:ale_sh_shfmt_options = "-w -" let b:ale_sh_shellcheck_options = '-x' -- cgit v1.2.3