2025-12-30 11:05:13 +03:00
|
|
|
pre-commit:
|
|
|
|
|
parallel: true
|
|
|
|
|
commands:
|
|
|
|
|
format:
|
|
|
|
|
glob: "*.{ts,js,svelte,json,md}"
|
2025-12-30 11:07:39 +03:00
|
|
|
run: yarn dprint fmt {staged_files}
|
2025-12-30 11:05:13 +03:00
|
|
|
stage_fixed: true
|
|
|
|
|
|
|
|
|
|
lint:
|
|
|
|
|
glob: "*.{ts,js,svelte}"
|
2025-12-30 11:07:39 +03:00
|
|
|
run: yarn oxlint {staged_files}
|
2025-12-30 11:05:13 +03:00
|
|
|
|
|
|
|
|
pre-push:
|
|
|
|
|
parallel: true
|
|
|
|
|
commands:
|
|
|
|
|
type-check:
|
|
|
|
|
run: tsc --noEmit
|
|
|
|
|
|
|
|
|
|
svelte-check:
|
|
|
|
|
run: svelte-check --threshold warning
|
|
|
|
|
|
|
|
|
|
format-check:
|
2025-12-30 11:07:39 +03:00
|
|
|
run: yarn dprint check
|
2025-12-30 11:05:13 +03:00
|
|
|
|
|
|
|
|
lint-full:
|
2025-12-30 11:07:39 +03:00
|
|
|
run: yarn oxlint .
|