Skip to content

Commit 1a6b471

Browse files
committed
Enable more builtin pre-commit checks
1 parent e7dc076 commit 1a6b471

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ repos:
6767
files: \.json$
6868
exclude: ^(3rdparty/|build.*/|install/)
6969
args: [--autofix, --indent=2, --no-ensure-ascii]
70+
- id: check-yaml
71+
files: \.(yaml|yml)$
72+
exclude: ^(3rdparty/|build.*/|install/)
73+
- id: check-case-conflict
74+
exclude: ^(3rdparty/|build.*/|install/)
75+
- id: check-merge-conflict
76+
exclude: ^(3rdparty/|build.*/|install/)
7077

7178
# Shell script linting with shellcheck (no docker dependency)
7279
- repo: https://github.com/shellcheck-py/shellcheck-py

0 commit comments

Comments
 (0)