mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 18:16:52 +00:00
Remove example.
This commit is contained in:
parent
8fe064d0bd
commit
14ac91fb70
1 changed files with 1 additions and 7 deletions
|
|
@ -116,13 +116,7 @@ Makes sure files end in a newline and only a newline.
|
|||
|
||||
#### `file-contents-sorter`
|
||||
Sort the lines in specified files (defaults to alphabetical).
|
||||
You must provide the target [`files`](https://pre-commit.com/#config-files) as input, for example:
|
||||
|
||||
```yaml
|
||||
- id: file-contents-sorter
|
||||
files: \.gitignore
|
||||
```
|
||||
|
||||
You must provide the target [`files`](https://pre-commit.com/#config-files) as input.
|
||||
Note that this hook WILL remove blank lines and does NOT respect any comments.
|
||||
|
||||
#### `fix-byte-order-marker`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue