changelog shortlog graph tags branches changeset files file revisions raw help

Mercurial > infra / annotate .shellcheckrc

changeset 371: 7dcabf3e0edc
parent: 0a88cdd4bbd5
author: Richard Westhaver <ellis@rwest.io>
date: Tue, 24 Sep 2024 15:53:24 -0400
permissions: -rw-r--r--
description: no link in bootstrap.sh
22
0a88cdd4bbd5 etc/skel init
ellis <ellis@rwest.io>
parents:
diff changeset
1
 # Suggest explicitly using -n in `[ $var ]`
0a88cdd4bbd5 etc/skel init
ellis <ellis@rwest.io>
parents:
diff changeset
2
 enable=avoid-nullary-conditions
0a88cdd4bbd5 etc/skel init
ellis <ellis@rwest.io>
parents:
diff changeset
3
 
0a88cdd4bbd5 etc/skel init
ellis <ellis@rwest.io>
parents:
diff changeset
4
 # Suggest 'command -v' instead of 'which'
0a88cdd4bbd5 etc/skel init
ellis <ellis@rwest.io>
parents:
diff changeset
5
 enable=deprecate-which
0a88cdd4bbd5 etc/skel init
ellis <ellis@rwest.io>
parents:
diff changeset
6
 
0a88cdd4bbd5 etc/skel init
ellis <ellis@rwest.io>
parents:
diff changeset
7
 # Suggest quoting variables without metacharacters
0a88cdd4bbd5 etc/skel init
ellis <ellis@rwest.io>
parents:
diff changeset
8
 enable=quote-safe-variables
0a88cdd4bbd5 etc/skel init
ellis <ellis@rwest.io>
parents:
diff changeset
9
 
0a88cdd4bbd5 etc/skel init
ellis <ellis@rwest.io>
parents:
diff changeset
10
 # Require [[ and warn about [ in Bash/Ksh
0a88cdd4bbd5 etc/skel init
ellis <ellis@rwest.io>
parents:
diff changeset
11
 enable=require-double-brackets