Use prettier rather than sass-convert
This commit is contained in:
parent
6d31e09716
commit
0996f254cb
@ -5,8 +5,10 @@ FILES_TO_FORMAT="atst/ tests/ app.py script/"
|
|||||||
if [ "$1" == "check" ]; then
|
if [ "$1" == "check" ]; then
|
||||||
pipenv run black --check ${FILES_TO_FORMAT}
|
pipenv run black --check ${FILES_TO_FORMAT}
|
||||||
yarn run prettier --list-different "js/**/*.js" --config ./prettier.config.json
|
yarn run prettier --list-different "js/**/*.js" --config ./prettier.config.json
|
||||||
|
yarn run prettier --list-different "styles/**/*.scss"
|
||||||
else
|
else
|
||||||
pipenv run black ${FILES_TO_FORMAT}
|
pipenv run black ${FILES_TO_FORMAT}
|
||||||
yarn run prettier --list-different --write "js/**/*.js" --config ./prettier.config.json
|
yarn run prettier --list-different --write "js/**/*.js" --config ./prettier.config.json
|
||||||
sass-convert ./styles --in-place --recursive --from scss --to scss --quiet
|
tt
|
||||||
|
yarn run prettier --list-different --write "styles/**/*.scss"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user