mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
Add a hook for checking parseable json.
This commit is contained in:
parent
7ec4853521
commit
243fe50bc1
7 changed files with 57 additions and 4 deletions
3
testing/resources/bad_json.notjson
Normal file
3
testing/resources/bad_json.notjson
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"hello": "world",
|
||||
}
|
||||
3
testing/resources/ok_json.json
Normal file
3
testing/resources/ok_json.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"hello": "world"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue