1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 22:23:13 +00:00

Add the "pretty-format-json" pre-commit hook

This commit is contained in:
wlinator 2024-08-28 12:35:06 -04:00
parent c9c56e20f8
commit e988cfa3e4

View file

@ -4,6 +4,7 @@ repos:
hooks: hooks:
- id: check-yaml - id: check-yaml
- id: check-json - id: check-json
- id: pretty-format-json
- id: check-toml - id: check-toml
- repo: https://github.com/asottile/add-trailing-comma - repo: https://github.com/asottile/add-trailing-comma
@ -16,7 +17,7 @@ repos:
hooks: hooks:
# Run the linter. # Run the linter.
- id: ruff - id: ruff
args: [ --fix ] args: [--fix]
# Run the formatter. # Run the formatter.
- id: ruff-format - id: ruff-format