Aneesh Agrawal
f07d8f188a
Add lint for [
instead of [[
in shells scripts
2016-08-05 09:42:04 -04:00
Aneesh Agrawal
9231ca1c69
Add lint to ensure substitutions use the full form
...
Check that any variable substitutions use the full ${VAR} form,
not just $VAR (but don't check for quoting yet).
2016-08-05 09:29:10 -04:00
Aneesh Agrawal
79ef9b4efc
Add lint for backticks in shell scripts
...
The "$(some_command arg1 arg2)" form is preferred to the
`some_command arg1 arg2` form because it nests unambiguously.
Add a lint for this to tidy.
2016-08-05 09:29:09 -04:00
Jim Berlage
7952bd00b6
Add linting for shell scripts
...
This changes tidy to check shell scripts for the proper shebang and
options. It does not check that variables are formatted correctly. It
also adds a check for the MPL 2.0 license in shell scripts.
2016-07-22 11:53:14 -05:00