I'm trying to turn off some of the messages in syntastic.
For example, SC20148
in bash files (it complains there's no shebang).
After looking through the documentation, it seemed that perhaps this might be done through:
let g:synstatic_quiet_messages = {
\ 'type': 'syntax',
\ 'regex': 'SC20148' }
However this doesn't seem to work. How do I turn off specific messages?
The Devil is in the details:
g:syntastic_quiet_messages
SC2148
Thus:
let g:syntastic_quiet_messages = { 'regex': 'SC2148' }
Or just:
let g:syntastic_sh_shellcheck_args = '-e SC2148'