mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-31 10:36:54 +00:00
Merge pull request #461 from daikikatsuragawa/document-formatting
Document formatting
This commit is contained in:
commit
41e26ab636
1 changed files with 7 additions and 6 deletions
13
README.md
13
README.md
|
|
@ -13,12 +13,13 @@ See also: https://github.com/pre-commit/pre-commit
|
|||
|
||||
Add this to your `.pre-commit-config.yaml`
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.5.0 # Use the ref you want to point at
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
# - id: ...
|
||||
|
||||
```yaml
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.5.0 # Use the ref you want to point at
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
# - id: ...
|
||||
```
|
||||
|
||||
### Hooks available
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue