Skip to content

Commit 9d22d6e

Browse files
add simple check-json syntax check hook
1 parent 88469f7 commit 9d22d6e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ repos:
1212
- id: check-merge-conflict
1313
args: ["--assume-in-merge"]
1414
exclude: \.adoc$ # sections titles Level 6 "=======" get flagged otherwise
15+
- id: check-json
16+
exclude: ^\.devcontainer/ # Uses JSONC (comments)
1517

1618
- repo: https://github.com/rbubley/mirrors-prettier
1719
rev: v3.3.3

0 commit comments

Comments
 (0)