repos:
  - repo: local
    hooks:
      - id: gitleaks
        name: gitleaks
        language: system
        entry: gitleaks protect --staged -v -c ../.gitleaks.toml
        pass_filenames: false
        always_run: true
      - id: lint
        name: lint
        entry: deno lint
        types_or: [javascript, jsx, ts, tsx]
        language: system
      - id: format-check
        name: format-check
        entry: deno fmt --check
        types_or: [javascript, jsx, ts, tsx, json, markdown]
        language: system
