Skip to content

Commit

Permalink
add note for end-of-file-fixer to run trailing-whitespace first, …
Browse files Browse the repository at this point in the history
…so you don't have to run and stage twice
  • Loading branch information
r-downing authored Nov 30, 2023
1 parent 42bc791 commit 573f560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Checks for the existence of private keys.
This hook replaces double quoted strings with single quoted strings.

#### `end-of-file-fixer`
Makes sure files end in a newline and only a newline.
Makes sure files end in a newline and only a newline. Should be run _after_ `trailing-whitespace` in order to handle files that end with spaces.

#### `file-contents-sorter`
Sort the lines in specified files (defaults to alphabetical).
Expand Down

0 comments on commit 573f560

Please sign in to comment.