diff options
author | bartus | 2020-06-17 18:02:10 +0200 |
---|---|---|
committer | bartus | 2020-06-17 18:02:10 +0200 |
commit | ce906ae2e161f03498871edcad720dd4bb72218e (patch) | |
tree | 5d268b95f36b4acc44be78b7e679be043603f11c | |
parent | 5ec45d10dff5aa5a10f0f08b3efd616ee0f5f6af (diff) | |
download | aur-ce906ae2e161f03498871edcad720dd4bb72218e.tar.gz |
Add .shellcheckrc
-rw-r--r-- | .shellcheckrc | 7 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/.shellcheckrc b/.shellcheckrc new file mode 100644 index 000000000000..39d9f245de72 --- /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 + @@ -1,8 +1,5 @@ #!/bin/hint/bash # Maintainer : bartus <arch-user-repoᘓbartus.33mail.com> -# shellcheck disable=SC2034,SC2154 # unused/uninitialized variables. -# shellcheck disable=SC2164 # unsafe cd. -# shellcheck disable=SC2191 # unsafe array asignment. ####to disable cuda kernel comment out this line _BUILD_CUDA="${_BUILD_CUDA:-ON}" |