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:
Daniel Siepmann 2022-03-29 13:51:59 +02:00
parent 3b3f2d0588
commit 8de53581b2
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -2,5 +2,6 @@ augroup sacFolder
autocmd!
autocmd BufEnter **/sac/**/Configuration/**/*.typoscript :setlocal tabstop=2 shiftwidth=2
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