mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| autopep8_wrapper_test.py | ||
| check_added_large_files_test.py | ||
| check_case_conflict_test.py | ||
| check_docstring_first_test.py | ||
| check_json_test.py | ||
| check_merge_conflict_test.py | ||
| check_xml_test.py | ||
| check_yaml_test.py | ||
| conftest.py | ||
| debug_statement_hook_test.py | ||
| detect_private_key_test.py | ||
| end_of_file_fixer_test.py | ||
| pretty_format_json_test.py | ||
| readme_test.py | ||
| requirements_txt_fixer_test.py | ||
| string_fixer_test.py | ||
| tests_should_end_in_test_test.py | ||
| trailing_whitespace_fixer_test.py | ||
| util_test.py | ||