Scoped CSS VueUI Fixes (+CI Check) (#10822)

This commit is contained in:
MarinaGryphon
2020-12-17 17:22:06 -06:00
committed by GitHub
parent de2ed485d8
commit d4b01c2fa0
5 changed files with 55 additions and 7 deletions
+9
View File
@@ -11,6 +11,15 @@ cd $1
ERROR_COUNT=0
echo "Starting Code Check" > code_error.log
echo "Checking for unscoped style tags in VueUI views:" >> code_error.log
grep -rP '<style[^>]*(?<!scoped)>' vueui/src/components/view >> code_error.log
if [ $? -eq 0 ]; then
ERROR_COUNT=$(($ERROR_COUNT+1))
echo "FAIL: Found unscoped style tags in VueUI views" >> code_error.log
else
echo "PASS: Found no unscoped style tags in VueUI views" >> code_error.log
fi
echo "Checking for step_x and step_y in maps:" >> code_error.log
grep 'step_[xy]' maps/**/*.dmm >> code_error.log
if [ $? -eq 0 ]; then