mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 18:16:52 +00:00
Update README.md
This commit is contained in:
parent
886dfc4205
commit
08663c91f2
1 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,8 @@ Add this to your `.pre-commit-config.yaml`
|
|||
use `args: [--markdown-linebreak-ext=md]` (or other extensions used
|
||||
by your markdownfiles). If for some reason you want to treat all files
|
||||
as markdown, use `--markdown-linebreak-ext=*`.
|
||||
- By default, this hook trims all whitespace from the ends of lines.
|
||||
To specify a custom set of characters to trim instead, use `args: [--chars,"<chars to trim>"]`.
|
||||
|
||||
### Deprecated / replaced hooks
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue