aboutsummaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-06-05 16:12:38 +0000
committerterminaldweller <thabogre@gmail.com>2022-06-05 16:12:38 +0000
commitcda2118001c73f3ae7f3ff113f9c57171dbff950 (patch)
treecf3756c59985d8f15792f7c8258975492fe54aff /.vimrc
parentdont kill my eyes (diff)
downloadscripts-cda2118001c73f3ae7f3ff113f9c57171dbff950.tar.gz
scripts-cda2118001c73f3ae7f3ff113f9c57171dbff950.zip
linter for docker
Diffstat (limited to '')
-rw-r--r--.vimrc4
1 files changed, 4 insertions, 0 deletions
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'