summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2020-06-18 18:19:36 +0200
committerbartus2020-06-18 18:19:36 +0200
commit7d1e296cca5ef42454176ff4d5f2d8f2593bbed7 (patch)
tree5102701737aad33540da5206802d80ae501d4757
parente6c8536b382228119d796ecedfc89f6ceeedd722 (diff)
downloadaur-7d1e296cca5ef42454176ff4d5f2d8f2593bbed7.tar.gz
Add .shellcheckrc
-rw-r--r--.shellcheckrc7
-rw-r--r--PKGBUILD2
2 files changed, 8 insertions, 1 deletions
diff --git a/.shellcheckrc b/.shellcheckrc
new file mode 100644
index 00000000000..39d9f245de7
--- /dev/null
+++ b/.shellcheckrc
@@ -0,0 +1,7 @@
+# allow unsafe `cd `
+disable=SC2164
+# allow unused variable (pkgname,pkgver etc.)
+disable=SC2034
+# allow uninitialized variable (srcdir,pkgdir)
+disable=SC2154
+
diff --git a/PKGBUILD b/PKGBUILD
index b02b1e12ecb..1a979f876ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
+#!/hint/bash
# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com>
-# shellcheck disable=SC2034
# -> disable check() until #63 is fixed
DISABLE_CHECK=1