Skip to content

Commit 9f8b591

Browse files
committed
Add pre-commit
1 parent 1a96a16 commit 9f8b591

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.pre-commit-config.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
4+
repos:
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v6.0.0
7+
hooks:
8+
- id: check-added-large-files
9+
- id: check-executables-have-shebangs
10+
- id: check-merge-conflict
11+
- id: check-shebang-scripts-are-executable
12+
- id: detect-private-key
13+
- id: end-of-file-fixer
14+
- id: mixed-line-ending
15+
args:
16+
- "--fix=lf"
17+
- id: trailing-whitespace
18+
- repo: https://github.com/adhtruong/mirrors-typos
19+
rev: v1.41.0
20+
hooks:
21+
- id: typos

0 commit comments

Comments
 (0)