Skip to content

Commit fb08826

Browse files
authored
Enable more builtin pre-commit checks (#808)
1 parent 69daf2f commit fb08826

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
# Dockerfile linting with hadolint
7279
- repo: https://github.com/hadolint/hadolint

0 commit comments

Comments
 (0)