Skip to content

Commit 8bdebaf

Browse files
committed
Add pre-commit checks
1 parent 1fee34c commit 8bdebaf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ repos:
66
- id: check-added-large-files
77
- id: check-case-conflict
88
- id: check-executables-have-shebangs
9+
- id: check-json
910
- id: check-merge-conflict
1011
- id: check-shebang-scripts-are-executable
1112
- id: check-symlinks
@@ -14,8 +15,12 @@ repos:
1415
- id: end-of-file-fixer
1516
exclude: examples/ignore/example-ignore.md
1617
- id: fix-byte-order-marker
17-
- id: forbid-new-submodules
18+
- id: forbid-submodules
1819
- id: mixed-line-ending
20+
- id: no-commit-to-branch
21+
- id: pretty-format-json
22+
args:
23+
- --autofix
1924
- id: trailing-whitespace
2025
exclude: examples/ignore/example-ignore.md
2126

0 commit comments

Comments
 (0)