pre-commit-hooks/testing/resources/pretty_formatted_json.json
Léo Cavaillé 55bf22dc4a Add new hook pretty-format-json
This new hook allows to standardize one's JSON files (sorted key/4
spaces indent).
By default it just fails if any file is not complying with the standard,
but you can also pass the arg `--autofix` and the hook will
pretty-format the file itself.

Good in use combined with the `check-json` hook.
2015-06-11 00:08:03 -04:00

9 lines
76 B
JSON

{
"alist": [
2,
34,
234
],
"blah": null,
"foo": "bar"
}