Add --replace-single-quotes to replace single quotes with double ones

This commit is contained in:
Wenjun Si 2024-08-15 13:21:52 +08:00
parent 429455474b
commit 3310eb9734
3 changed files with 62 additions and 18 deletions

View file

@ -112,6 +112,7 @@ Checks for the existence of private keys.
#### `double-quote-string-fixer`
This hook replaces double quoted strings with single quoted strings.
- `--replace-single-quotes` - replaces single quoted strings with double quoted strings.
#### `end-of-file-fixer`
Makes sure files end in a newline and only a newline.