mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 18: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.py | ||
| check_added_large_files.py | ||
| check_case_conflict.py | ||
| check_docstring_first.py | ||
| check_json.py | ||
| check_merge_conflict.py | ||
| check_xml.py | ||
| check_yaml.py | ||
| debug_statement_hook.py | ||
| detect_private_key.py | ||
| end_of_file_fixer.py | ||
| pretty_format_json.py | ||
| requirements_txt_fixer.py | ||
| string_fixer.py | ||
| tests_should_end_in_test.py | ||
| trailing_whitespace_fixer.py | ||
| util.py | ||