Skip to content

Commit

Permalink
Update prettier hook to new pre-commit repo (cjolowicz#639)
Browse files Browse the repository at this point in the history
* Change to new prettier pre-commit repo

* Add v prefix to prettier rev
  • Loading branch information
paw-lu committed Mar 8, 2021
1 parent 15d3b25 commit 9317eeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -7,7 +7,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files
- repo: https://github.com/prettier/prettier
rev: 2.1.2
- repo: https://github.com/prettier/pre-commit
rev: v2.1.2
hooks:
- id: prettier
4 changes: 2 additions & 2 deletions {{cookiecutter.project_name}}/.pre-commit-config.yaml
Expand Up @@ -45,7 +45,7 @@ repos:
language: system
types: [text]
stages: [commit, push, manual]
- repo: https://github.com/prettier/prettier
rev: 2.1.2
- repo: https://github.com/prettier/pre-commit
rev: v2.1.2
hooks:
- id: prettier

0 comments on commit 9317eeb

Please sign in to comment.