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

Updated sanityCheck

parent 2427238a
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,7 @@ $GREP 'elseif $ ' -- 'src/*' | myprint "missing ; before statement" ...@@ -95,7 +95,7 @@ $GREP 'elseif $ ' -- 'src/*' | myprint "missing ; before statement"
# Check for a . inside a <<>> # Check for a . inside a <<>>
$GREP "<<[a-zA-Z]\([^\"'>]\|[^\"'>]>[^\"'>]\)*[a-zA-Z][.][^a-zA-Z]" | myprint "StrangeCharacterAfterDot" $GREP "<<[a-zA-Z]\([^\"'>]\|[^\"'>]>[^\"'>]\)*[a-zA-Z][.][^a-zA-Z]" | myprint "StrangeCharacterAfterDot"
# Check for @@. instead of .@@ TODO: get this to work # Check for @@. instead of .@@ TODO: get this to work
$GREP "@@(\.|,|;)\s" | myprint "WrongSelectorPunctuation" $GREP -e "@@(\.|,|;)\s" -- src/*.tw | myprint "WrongSelectorPunctuation"
# Check that we do not have any variables that we use only once. e.g. $onlyUsedOnce # Check that we do not have any variables that we use only once. e.g. $onlyUsedOnce
# Ignore *Nationalities # 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