Gets stylelint command working
This commit is contained in:
parent
1412fa507c
commit
6f90c80494
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
|
docker-compose run --rm dev-tools npx prettier --write bookwyrm/static/js/*.js
|
||||||
;;
|
;;
|
||||||
stylelint)
|
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)
|
formatters)
|
||||||
docker-compose run --rm dev-tools black celerywyrm bookwyrm && \
|
docker-compose run --rm dev-tools black celerywyrm bookwyrm && \
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
"merge": "2.1.1",
|
"merge": "2.1.1",
|
||||||
"postcss": "^8.4.6",
|
"postcss": "^8.4.6",
|
||||||
"stylelint-config-recommended": "^7.0.0",
|
"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 New Issue