Created Shellcheck Exclusions (markdown)

Dylan Araps 2016-12-08 20:03:18 +11:00
parent 516e5c8eea
commit 02fec129fc
1 changed files with 24 additions and 0 deletions

24
Shellcheck-Exclusions.md Normal file

@ -0,0 +1,24 @@
This wiki page lists all of the [shellcheck](https://www.shellcheck.net/) errors that we're ignoring when testing Neofetch.
### [SC1090](https://github.com/koalaman/shellcheck/wiki/SC1090)
> Can't follow non-constant source. Use a directive to specify location.
This error has been disabled since we're not sourcing the config file when running shellcheck.
### [SC2009](https://github.com/koalaman/shellcheck/wiki/SC2009)
> SC2009 Consider using pgrep instead of grepping ps output.
We were originally using `pgrep` until we found out that `pgrep` has some issues on macOS systems.
### [SC2034](https://github.com/koalaman/shellcheck/wiki/SC2034)
> foo appears unused. Verify it or export it.
This error has been disabled since we dynamically use the info variables. (`$kernel`)