archmac / packages

PKGBUILD and assorted files for building packages
https://www.archmac.org
14 stars 1 forks source link

Check PKGBUILD for style and errors #4

Open lloeki opened 6 years ago

lloeki commented 6 years ago

A linter such as shellcheck with the proper config might be useful.

Also, look into imposing various styles, orders and such for arrays, variables, quotes, etc...

lloeki commented 6 years ago

This simplifies life:

export SHELLCHECK_OPTS="-e SC2034 -e SC2164 -e SC2154"