Skip to content

Commit 308c008

Browse files
Also ignore patch files in pre-commit
1 parent a8808b9 commit 308c008

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ repos:
2222
rev: v4.6.0
2323
hooks:
2424
- id: end-of-file-fixer
25-
exclude: '\.svg$'
25+
exclude: '\.(svg|patch)$'
2626
- id: trailing-whitespace
27-
exclude: '\.svg$'
27+
exclude: '\.(svg|patch)$'
2828
- id: check-json
2929
- id: check-yaml
3030
args: [--allow-multiple-documents, --unsafe]

0 commit comments

Comments
 (0)