diff options
author | terminaldweller <thabogre@gmail.com> | 2022-06-05 16:12:38 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-06-05 16:12:38 +0000 |
commit | cda2118001c73f3ae7f3ff113f9c57171dbff950 (patch) | |
tree | cf3756c59985d8f15792f7c8258975492fe54aff /.vimrc | |
parent | dont kill my eyes (diff) | |
download | scripts-cda2118001c73f3ae7f3ff113f9c57171dbff950.tar.gz scripts-cda2118001c73f3ae7f3ff113f9c57171dbff950.zip |
linter for docker
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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' |