repos:
  - repo: local
    hooks:
      - id: lint-ts
        name: Lint typescript code
        files: \.ts$
        language: system
        entry: npm run lint -- --fix
      - id: compile-ts
        name: Compile typescript
        files: \.[tj]s$
        language: system
        entry: npm run build
        pass_filenames: false
      - id: pr-checks-sync
        name: Synchronize PR check workflows
        files: ^.github/workflows/__.*\.yml$|^pr-checks
        language: system
        entry: pr-checks/sync.sh
        pass_filenames: false
