pre-commit:
  commands:
    prettier:
      glob: "*.ts"
      run: pnpm prettier --write {staged_files} && git add {staged_files}
    gofmt:
      glob: "*.go"
      run: go fmt {staged_files} && git add {staged_files}
    denofmt:
      glog: "*.ts"
      run: deno fmt --quiet {staged_files} && git add {staged_files}

pre-push:
  commands:
    eslint:
      glob: "*.ts"
      run: pnpm lint