Skip to content

Commit 1929a12

Browse files
committed
chore: Add EOF fixer and trailing whitespace fix to pre-commit.
1 parent f27ea8f commit 1929a12

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ repos:
5353
args: [ "--indent", "2", "--no-sort-keys" ]
5454
files: ^doc/schemas/.*\.json$
5555
types: [ json ]
56+
- id: trailing-whitespace
57+
args: [ "--markdown-linebreak-ext=md" ]
58+
exclude: ccan|contrib|tests/fuzz/corpora
59+
- id: end-of-file-fixer
60+
exclude: ccan|contrib|tests/fuzz/corpora
5661

5762
- repo: https://github.com/codespell-project/codespell
5863
rev: v2.3.0

0 commit comments

Comments
 (0)