-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from cisagov/improvement/switch_prettier_hook
Switch the `pre-commit` hook used to run `prettier`
- Loading branch information
Showing
1 changed file
with
2 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,17 +40,10 @@ repos: | |
- id: markdownlint | ||
args: | ||
- --config=.mdl_config.yaml | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
# This is the last version of v3 available from the mirror. We should hold | ||
# here until v4, which is currently in alpha, is more stable. | ||
rev: v3.1.0 | ||
- repo: https://github.com/rbubley/mirrors-prettier | ||
rev: v3.3.3 | ||
hooks: | ||
- id: prettier | ||
# This is the latest version of v3 available from NPM. The pre-commit | ||
# mirror does not pull tags for old major versions once a new major | ||
# version tag is published. | ||
additional_dependencies: | ||
- [email protected] | ||
- repo: https://github.com/adrienverge/yamllint | ||
rev: v1.35.1 | ||
hooks: | ||
|