This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/ale_linters/bats/shellcheck.vim

12 lines
464 B
VimL
Raw Normal View History

" Author: Ian2020 <https://github.com/Ian2020>
" Description: This file adds support for using the shellcheck linter with
" bats scripts. Heavily inspired by/copied from work by w0rp on shellcheck
" for sh files.
call ale#linter#Define('bats', {
\ 'name': 'shellcheck',
\ 'executable': function('ale#handlers#shellcheck#GetExecutable'),
\ 'command': function('ale#handlers#shellcheck#GetCommand'),
\ 'callback': 'ale#handlers#shellcheck#Handle',
\})