From 8624a0712e195f3b1556424991f1ab0c9dbadf56 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 8 Dec 2016 20:07:27 +1100 Subject: [PATCH] Updated Shellcheck Exclusions (markdown) --- Shellcheck-Exclusions.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Shellcheck-Exclusions.md b/Shellcheck-Exclusions.md index 7cc2909..138d3d0 100644 --- a/Shellcheck-Exclusions.md +++ b/Shellcheck-Exclusions.md @@ -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. +