Skip to content

Commit f89bd70

Browse files
committed
Ignore HTML and JS in precommit.
1 parent 573ec1a commit f89bd70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ repos:
55
rev: v3.2.0
66
hooks:
77
- id: trailing-whitespace
8+
exclude: '.*\.(html|js)$'
89
- id: end-of-file-fixer
10+
exclude: '.*\.(html|js)$'
911
- id: check-yaml
1012
- id: check-added-large-files
1113
- repo: https://github.com/astral-sh/ruff-pre-commit

0 commit comments

Comments
 (0)