Updated Shellcheck Exclusions (markdown)

Dylan Araps 2016-12-08 20:07:27 +11:00
parent 02fec129fc
commit 8624a0712e
1 changed files with 13 additions and 0 deletions

@ -22,3 +22,16 @@ We were originally using `pgrep` until we found out that `pgrep` has some issues
This error has been disabled since we dynamically use the info variables. (`$kernel`)
### [SC2153](https://github.com/koalaman/shellcheck/wiki/SC2153)
> Possible Misspelling: MYVARIABLE may not be assigned, but MY_VARIABLE is.
We use a lot of Environment Variables and this error comes up whenever we reassign an Environment Variable to a local variable. Totally harmless.
### [SC2178](https://github.com/koalaman/shellcheck/wiki/SC2178)
> Variable was used as an array but is now assigned a string.
Each info function in Neofetch is split into separate parts for each Operating System. One OS might need an array to get the info and the others may not. Shellcheck sees mixed usage of Arrays/Variables and that's what causes this error.