mirror of
https://github.com/schpet/linear-cli.git
synced 2026-09-14 14:26:50 +08:00
18 lines
381 B
YAML
18 lines
381 B
YAML
pre-commit:
|
|
parallel: true
|
|
commands:
|
|
lint:
|
|
glob: "*.ts"
|
|
run: deno lint --fix {staged_files}
|
|
stage_fixed: true
|
|
fmt:
|
|
glob: "*.{ts,md,yml,yaml,json}"
|
|
run: deno fmt {staged_files}
|
|
stage_fixed: true
|
|
typecheck:
|
|
glob: "*.ts"
|
|
run: deno check {staged_files}
|
|
test:
|
|
glob: "*.ts"
|
|
run: deno test -A {staged_files}
|