moai/.pre-commit-config.yaml
Mikkel Georgsen 5856e6b2aa chore(01-01): create pre-commit configuration
- Add ruff hooks for linting (with --fix) and formatting
- Add standard hooks: trailing-whitespace, end-of-file-fixer, check-yaml
- Use ruff-pre-commit v0.14.13

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 15:00:14 +00:00

14 lines
324 B
YAML

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.13
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml