mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-17 10:57:19 +01:00
Scoped CSS VueUI Fixes (+CI Check) (#10822)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user