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:
3 files changed
+10
-5
No files matched your search
+2
-2
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user