summaryrefslogtreecommitdiff
path: root/doc/ale-bats.txt
diff options
context:
space:
mode:
authorIan2020 <Ian2020@users.noreply.github.com>2020-04-28 17:46:15 +0100
committerIan2020 <Ian2020@users.noreply.github.com>2020-04-28 17:46:15 +0100
commitd4e1c57026395c53547e18ab290fc588e0645d22 (patch)
treecb13e5bc83f3e72a5d10e8dbeed86c78b1bc145b /doc/ale-bats.txt
parent76cd6b0f92e7e3baffe0dc83c6d8a75ccb517a1f (diff)
downloadale-d4e1c57026395c53547e18ab290fc588e0645d22.zip
Moved common code to ale handlers, updated bats doc
Diffstat (limited to 'doc/ale-bats.txt')
-rw-r--r--doc/ale-bats.txt39
1 files changed, 2 insertions, 37 deletions
diff --git a/doc/ale-bats.txt b/doc/ale-bats.txt
index 8554d186..cf2199ec 100644
--- a/doc/ale-bats.txt
+++ b/doc/ale-bats.txt
@@ -5,44 +5,9 @@ ALE Bats Integration *ale-bats-options
===============================================================================
shellcheck *ale-bats-shellcheck*
-g:ale_bats_shellcheck_executable *g:ale_bats_shellcheck_executable*
- *b:ale_bats_shellcheck_executable*
- Type: |String|
- Default: `'shellcheck'`
+The `shellcheck` linter for Bats uses the sh options for `shellcheck`; see:
+|ale-sh-shellcheck|.
- This variable sets executable used for shellcheck.
-
-
-g:ale_bats_shellcheck_options *g:ale_bats_shellcheck_options*
- *b:ale_bats_shellcheck_options*
- Type: |String|
- Default: `''`
-
- With this variable we are able to pass extra arguments for shellcheck
- for shellcheck invocation.
-
- For example, if we want shellcheck to follow external sources (`see SC1091`)
- we can set the variable as such:
->
- let g:ale_bats_shellcheck_options = '-x'
-<
-
-
-g:ale_bats_shellcheck_change_directory *g:ale_bats_shellcheck_change_directory*
- *b:ale_bats_shellcheck_change_directory*
- Type: |Number|
- Default: `1`
-
- If set to `1`, ALE will switch to the directory the shell file being
- checked with `shellcheck` is in before checking it. This helps `shellcheck`
- determine the path to sourced files more easily. This option can be turned
- off if you want to control the directory `shellcheck` is executed from
- yourself.
-
-
- autocmd BufEnter PKGBUILD,.env
- \ let b:ale_bats_shellcheck_exclusions = 'SC2034,SC2154,SC2164'
-<
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: