mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
ci: Auto-format CSS/SCSS in the pre-commit hook (no-changelog) (#11012)
This commit is contained in:
parent
bb2895689f
commit
6120b3a053
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue