summaryrefslogtreecommitdiffstats
path: root/comm/tools/lint/shellcheck.yml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/tools/lint/shellcheck.yml')
-rw-r--r--comm/tools/lint/shellcheck.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/comm/tools/lint/shellcheck.yml b/comm/tools/lint/shellcheck.yml
new file mode 100644
index 0000000000..a51796c14e
--- /dev/null
+++ b/comm/tools/lint/shellcheck.yml
@@ -0,0 +1,14 @@
+---
+shellcheck:
+ description: Shell script linter
+ include:
+ - comm/
+ # 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: commlint:lint_wrapper
+ wraps: shell:lint