mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-02 18:56:52 +00:00
pretty-format-json: ignore original newline presence or absence
This commit is contained in:
parent
2d948977cf
commit
10e3730a81
4 changed files with 15 additions and 1 deletions
9
testing/resources/pretty_formatted_json_no_endline.json
Normal file
9
testing/resources/pretty_formatted_json_no_endline.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"alist": [
|
||||
2,
|
||||
34,
|
||||
234
|
||||
],
|
||||
"blah": null,
|
||||
"foo": "bar"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue