mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 01:21:07 +00:00
Gets stylelint command working
This commit is contained in:
parent
1412fa507c
commit
6f90c80494
2 changed files with 5 additions and 2 deletions
4
bw-dev
4
bw-dev
|
@ -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 && \
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
"merge": "2.1.1",
|
||||
"postcss": "^8.4.6",
|
||||
"stylelint-config-recommended": "^7.0.0",
|
||||
"stylelint-config-standard": "^25.0.0"
|
||||
"stylelint-config-standard": "^25.0.0",
|
||||
"stylelint-order": "^5.0.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue