Skip to content

Commit 3f3b52f

Browse files
committed
Add pre-commit config
This can help ferrit out issues with changes being made to the repo pre-commit/-push. Related: freebsd/atf#179 Signed-off-by: Enji Cooper <ngie@FreeBSD.org>
1 parent d7d3a17 commit 3f3b52f

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
fail_fast: true
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v6.0.0
6+
hooks:
7+
- id: check-merge-conflict
8+
- id: trailing-whitespace
9+
- repo: https://github.com/pre-commit/pre-commit
10+
rev: v4.5.1
11+
hooks:
12+
- id: validate_manifest
13+
- repo: https://github.com/adrienverge/yamllint
14+
rev: v1.38.0
15+
hooks:
16+
- id: yamllint

0 commit comments

Comments
 (0)