Files

27 lines
897 B
YAML
Raw Permalink Normal View History

2026-04-16 15:14:18 +02:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-added-large-files
args: ['--maxkb=500']
- id: check-merge-conflict
- id: check-case-conflict
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
2026-04-16 15:14:18 +02:00
- repo: local
hooks:
- id: forbidden-files-hook
name: check for forbidden home-directory files
language: system
entry: bash -c 'cd "$(git rev-parse --show-toplevel)" && nix develop --command task check-hygiene'
pass_filenames: false
always_run: true
- id: dart-check
name: dart format (autofix) + check-fast (parallel)
language: system
entry: bash -c 'cd "$(git rev-parse --show-toplevel)" && nix develop --command scripts/pre_commit_check.sh'
2026-04-16 15:14:18 +02:00
pass_filenames: false
always_run: true