forked from mirrors/bookwyrm
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