Skip to content

Commit

Permalink
Enhance the prettier hook to also format XML
Browse files Browse the repository at this point in the history
This involves adding the @prettier/plugin-xml plugin to the hook's
configuration as an additional dependency.
  • Loading branch information
mcdonnnj committed Oct 2, 2024
1 parent f0e55b3 commit 3ccf762
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ repos:
rev: v3.3.3
hooks:
- id: prettier
additional_dependencies:
- "@prettier/[email protected]"
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
Expand Down

0 comments on commit 3ccf762

Please sign in to comment.