We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ca741f7 + 8876c63 commit 53a7647Copy full SHA for 53a7647
2 files changed
README.md
@@ -19,6 +19,10 @@ steps:
19
20
The files (or globs) to run shellcheck on
21
22
+### `options`
23
+
24
+Any options to pass to shellcheck
25
26
## License
27
28
MIT (see [LICENSE](LICENSE))
hooks/command
@@ -34,7 +34,10 @@ if [[ -z ${files:-} ]] ; then
34
exit 1
35
fi
36
37
-# Read in the options to pass to shellcheck
+# Read in the options to pass to shellcheck. Ask for color by default
38
+# for pretty online log display (but someone can override this with an
39
+# explicit `options: "--color=never"`)
40
+options=("--color=always")
41
while IFS=$'\n' read -r option ; do
42
options+=("$option")
43
done < <(plugin_read_list OPTIONS)
0 commit comments