koalaman / shellcheck

ShellCheck, a static analysis tool for shell scripts
https://www.shellcheck.net
GNU General Public License v3.0
36.16k stars 1.77k forks source link

Request for enhancement #220

Open arth1 opened 10 years ago

arth1 commented 10 years ago

I think at this point, shellcheck might need a command line option for turning on/off all warnings for things that are actually legal code, but possibly unintended, without specifying them one by one.

Alternatively an /etc/shellcheckrc + $HOME/.shellcheckrc, where one can put a list of checks to ignore. With that, a man page or -l option that lists all the checkers would be welcome too.

andrey-starodubtsev commented 8 years ago

Isn't SHELLCHECK_OPTS mentioned in https://github.com/koalaman/shellcheck/wiki/Ignore what you need?