Skip to content

Commit 03733f6

Browse files
committed
chore: add pre-commit config
1 parent a9a1404 commit 03733f6

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.pre-commit-config.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
# See https://pre-commit.com for more information
3+
# See https://pre-commit.com/hooks.html for more hooks
4+
repos:
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v4.4.0
7+
hooks:
8+
- id: check-added-large-files
9+
- id: check-case-conflict
10+
- id: check-executables-have-shebangs
11+
- id: check-shebang-scripts-are-executable
12+
- id: check-symlinks
13+
- id: destroyed-symlinks
14+
15+
- id: check-json
16+
- id: check-yaml
17+
- id: check-xml
18+
19+
- id: check-vcs-permalinks
20+
- id: check-merge-conflict
21+
- id: end-of-file-fixer
22+
- id: mixed-line-ending
23+
- id: trailing-whitespace
24+
25+
- repo: https://github.com/pre-commit/mirrors-prettier
26+
rev: v2.7.1
27+
hooks:
28+
- id: prettier
29+
files: \.(md|yml|yaml|json)$

0 commit comments

Comments
 (0)