Skip to content

Commit 35e18b9

Browse files
committed
add pre-commit
1 parent f72f13c commit 35e18b9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: mixed-line-ending
8+
- id: check-merge-conflict
9+
args: [--assume-in-merge]
10+
11+
- repo: https://github.com/rbubley/mirrors-prettier
12+
rev: 5ba47274f9b181bce26a5150a725577f3c336011 # frozen: v3.6.2
13+
hooks:
14+
- id: prettier

0 commit comments

Comments
 (0)