From a3ba7f54fe2ff0be6a2575b19eff8701fe88b28d Mon Sep 17 00:00:00 2001 From: DCoded <dcoded@live.com> Date: Wed, 10 Apr 2019 09:11:15 -0400 Subject: [PATCH] Minor update to sanityCheck --- sanityCheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sanityCheck.sh b/sanityCheck.sh index e78439d5781..5a3eed616d8 100755 --- a/sanityCheck.sh +++ b/sanityCheck.sh @@ -122,9 +122,9 @@ $GREP "@@[a-z]\+;" -- 'src/*' | myprint "SelectorMissingDot" # Check for </span>. instead of .</span> $GREP -E "</span>(\.|,|;|:)\s" -- src/*.js | myprint "WrongSelectorPunctuation" # Check for missing whitespace between operators -#$GREP -E "\(.(\+|\-|\*|\/|\=)." -- src/*.js --exclude={dTree,dTree.min,format,Jquery,mousetrap}.js | myprint "MissingWhitespace" // can't quite get this to work +#$GREP -E "\(.(\+|\-|\*|\/|\=)." -- src/*.js :^Jquery.js,^dTree.js,^dTree.min.js,^format.js,^mousetrap.js | myprint "MissingWhitespace" # Check for @@ selector instead of <span> selector -$GREP -E "@@\." -- src/*.js | myprint "WrongSelectorUsed" +$GREP "@@\." -- src/*.js | myprint "WrongSelectorUsed" # Check that we do not have any variables that we use only once. e.g. $onlyUsedOnce # Ignore *Nationalities -- GitLab