Skip to content
Snippets Groups Projects
Commit a3ba7f54 authored by brickode's avatar brickode
Browse files

Minor update to sanityCheck

parent adc5ffb7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment