ci: Auto-format CSS/SCSS in the pre-commit hook (no-changelog) (#11012)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2024-09-30 11:31:11 +02:00 committed by GitHub
parent bb2895689f
commit 6120b3a053
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@ pre-commit:
- merge - merge
- rebase - rebase
prettier_check: prettier_check:
glob: 'packages/**/*.{vue,yml,md}' glob: 'packages/**/*.{vue,yml,md,css,scss}'
run: ./node_modules/.bin/prettier --write --ignore-unknown --no-error-on-unmatched-pattern {staged_files} run: ./node_modules/.bin/prettier --write --ignore-unknown --no-error-on-unmatched-pattern {staged_files}
stage_fixed: true stage_fixed: true
skip: skip: