Integrate gitlint via ale for SAC customer project
We have pretty simple rules. The first line needs to match a specific pattern.
This commit is contained in:
parent
3b3f2d0588
commit
8de53581b2
|
@ -2,5 +2,6 @@ augroup sacFolder
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd BufEnter **/sac/**/Configuration/**/*.typoscript :setlocal tabstop=2 shiftwidth=2
|
autocmd BufEnter **/sac/**/Configuration/**/*.typoscript :setlocal tabstop=2 shiftwidth=2
|
||||||
autocmd BufEnter **/sac/**/*.xlf :setlocal noexpandtab
|
autocmd BufEnter **/sac/**/*.xlf :setlocal noexpandtab
|
||||||
|
autocmd BufEnter **/sac/**/.git/COMMIT_EDITMSG let b:ale_gitcommit_gitlint_options = '-c T7.regex="\[.*\] \w+-\d+ .*"'
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue