Gets stylelint command working

This commit is contained in:
Mouse Reeve
2022-02-16 13:11:04 -08:00
parent 1412fa507c
commit 6f90c80494
2 changed files with 5 additions and 2 deletions

4
bw-dev
View File

@ -138,7 +138,9 @@ case "$CMD" in
docker-compose run --rm dev-tools npx prettier --write bookwyrm/static/js/*.js
;;
stylelint)
docker-compose run --rm dev-tools npx stylelint bookwyrm/static/**/*.css --fix
docker-compose run --rm dev-tools npx stylelint \
bookwyrm/static/css/*.css --fix \
--config dev-tools/.stylelintrc.js
;;
formatters)
docker-compose run --rm dev-tools black celerywyrm bookwyrm && \