Fix precommit configuration in docs (#4817)
The "sha" option has been renamed to "rev" See https://pre-commit.com/#pre-commit-configyaml---reposmaster
parent
975402b285
commit
ef7d96e124
|
@ -66,7 +66,7 @@ Copy the following config into your `.pre-commit-config.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- repo: https://github.com/prettier/prettier
|
- repo: https://github.com/prettier/prettier
|
||||||
sha: '' # Use the sha or tag you want to point at
|
rev: '' # Use the sha or tag you want to point at
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue