Moved pre-commit support to github.com/pre-commit/mirrors-prettier (#8937)

Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
This commit is contained in:
authored and GitHub committed 2020-11-16 18:27:34 +08:00
1 parent 386759c6f7
commit ed49bf10a0
3 files changed
+10 -5

No files matched your search

+2 -2
View File
@@ -61,13 +61,13 @@ Read more at the [pretty-quick](https://github.com/azz/pretty-quick) repo.
Copy the following config into your `.pre-commit-config.yaml` file:
```yaml
- repo: https://github.com/prettier/prettier
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "" # Use the sha or tag you want to point at
hooks:
- id: prettier
```
Read more at the [pre-commit](https://pre-commit.com) website.
Read more at [mirror of prettier package for pre-commit](https://github.com/pre-commit/mirrors-prettier) and the [pre-commit](https://pre-commit.com) website.
## Option 4. [git-format-staged](https://github.com/hallettj/git-format-staged)