pre-commit-hooks/testing/resources
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
..
bad_json.notjson Add a hook for checking parseable json. 2014-08-19 16:03:48 -07:00
bad_xml.notxml Add check-xml hook. 2015-01-17 10:30:58 -08:00
bad_yaml.notyaml Add a hook for yaml files. 2014-04-03 21:36:03 -07:00
cannot_parse_ast.notpy Give a better message when ast is not parseable. 2014-06-19 17:44:40 -07:00
file_with_debug.notpy Improve test coverage. 2014-04-13 22:21:42 -07:00
not_pretty_formatted_json.json Add new hook pretty-format-json 2015-06-11 00:08:03 -04:00
ok_json.json Add a hook for checking parseable json. 2014-08-19 16:03:48 -07:00
ok_xml.xml Add check-xml hook. 2015-01-17 10:30:58 -08:00
ok_yaml.yaml Add a hook for yaml files. 2014-04-03 21:36:03 -07:00
pretty_formatted_json.json Add new hook pretty-format-json 2015-06-11 00:08:03 -04:00