Fix precommit configuration in docs (#4817)

The "sha" option has been renamed to "rev"

See https://pre-commit.com/#pre-commit-configyaml---repos
This commit is contained in:
Steven Loria authored and Suchipi committed 2018-07-10 12:27:25 -07:00
1 parent 975402b285
commit ef7d96e124
1 file changed
+1 -1
+1 -1
View File
@@ -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
``` ```