summaryrefslogtreecommitdiffstats
path: root/tools/lint/shellcheck.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lint/shellcheck.yml')
-rw-r--r--tools/lint/shellcheck.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/lint/shellcheck.yml b/tools/lint/shellcheck.yml
new file mode 100644
index 0000000000..0100e3d5cc
--- /dev/null
+++ b/tools/lint/shellcheck.yml
@@ -0,0 +1,15 @@
+---
+shellcheck:
+ description: Shell script linter
+ include:
+ - extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/
+ - taskcluster/docker/
+ exclude: []
+ # 1090: https://github.com/koalaman/shellcheck/wiki/SC1090
+ # 'Can't follow a non-constant source'
+ extensions: ['sh']
+ support-files:
+ - 'tools/lint/shell/**'
+ excludecodes: ['1090', '1091']
+ type: external
+ payload: shell:lint