mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 15:39:08 +00:00
Move shellcheck configuration to .shellcheckrc
Move shellcheck configuration to `.shellcheckrc`. That way editors like VSCode will pick up the configuration as well. Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
This commit is contained in:
parent
28a78a1739
commit
6fc11ff9e3
7
.shellcheckrc
Normal file
7
.shellcheckrc
Normal file
@ -0,0 +1,7 @@
|
||||
# SC1090: Can't follow non-constant source. Use a directive to specify location
|
||||
# https://www.shellcheck.net/wiki/SC1090
|
||||
disable=SC1090
|
||||
|
||||
# SC1091: Not following <file>
|
||||
# https://www.shellcheck.net/wiki/SC1091
|
||||
disable=SC1091
|
||||
2
debian/salsa-ci.yml
vendored
2
debian/salsa-ci.yml
vendored
@ -20,5 +20,5 @@ shellcheck:
|
||||
- apt-get update
|
||||
- apt-get install -y shellcheck
|
||||
- |
|
||||
shellcheck -e SC1090,SC1091 -s dash hook-functions $(find hooks scripts -type f) $({ find . -maxdepth 1 -type f -executable; find debian -maxdepth 1 -type f; find docs kernel -type f; } | xargs grep -l '^#!/bin/sh')
|
||||
shellcheck -s dash hook-functions $(find hooks scripts -type f) $({ find . -maxdepth 1 -type f -executable; find debian -maxdepth 1 -type f; find docs kernel -type f; } | xargs grep -l '^#!/bin/sh')
|
||||
needs: []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user