Skip to content

Commit

Permalink
Add prettier formatting rule for JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Oct 10, 2023
1 parent cba2b60 commit 4c22aea
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ repos:
- id: rst-directive-colons
- id: rst-inline-touching-normal

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.2"
hooks:
- id: prettier
types_or: [json]
exclude: ".geojson$"
# types_or: [yaml, markdown, html, css, scss, javascript, json]
args: [--prose-wrap=always]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.291"
hooks:
Expand Down

0 comments on commit 4c22aea

Please sign in to comment.