Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.shellcheckrc
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2024-05-10 15:20:28 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2024-05-10 15:20:28 +0200
commit04ce9be284db8fe4be3b6a7b77bdd31940d0fd7e (patch)
tree3ea7d489d1db5ed068bd202a462ba7b1543d1820 /.shellcheckrc
parent702200a7b8aac8a18644ac4a0c52a4fca16099b2 (diff)
parente567a2ab268e340be608ac442eb13c54c566fbff (diff)
merged with upstream
Diffstat (limited to '.shellcheckrc')
-rw-r--r--.shellcheckrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/.shellcheckrc b/.shellcheckrc
new file mode 100644
index 0000000..75aca74
--- /dev/null
+++ b/.shellcheckrc
@@ -0,0 +1,11 @@
+# Suggest explicitly using -n in `[ $var ]`
+enable=avoid-nullary-conditions
+
+# Suggest 'command -v' instead of 'which'
+enable=deprecate-which
+
+# Suggest quoting variables without metacharacters
+enable=quote-safe-variables
+
+# Require [[ and warn about [ in Bash/Ksh
+enable=require-double-brackets