n8n/lefthook.yml
कारतोफ्फेलस्क्रिप्ट™ 6120b3a053
ci: Auto-format CSS/SCSS in the pre-commit hook (no-changelog) (#11012)
2024-09-30 11:31:11 +02:00

17 lines
534 B
YAML

pre-commit:
commands:
biome_check:
glob: 'packages/**/*.{js,ts,json}'
run: ./node_modules/.bin/biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files}
stage_fixed: true
skip:
- merge
- rebase
prettier_check:
glob: 'packages/**/*.{vue,yml,md,css,scss}'
run: ./node_modules/.bin/prettier --write --ignore-unknown --no-error-on-unmatched-pattern {staged_files}
stage_fixed: true
skip:
- merge
- rebase