Skip to content

Commit 372a087

Browse files
committed
Add pre-commit to the pipeline
1 parent da0bfe0 commit 372a087

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.pre-commit-config.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
default_stages:
2+
- pre-commit
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.6.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-json
10+
- id: check-toml
11+
- id: check-xml
12+
- id: check-builtin-literals
13+
- id: check-case-conflict
14+
- id: check-docstring-first
15+
- id: detect-private-key
16+
17+
- repo: https://github.com/pre-commit/mirrors-prettier
18+
rev: "v3.0.2"
19+
hooks:
20+
- id: prettier

0 commit comments

Comments
 (0)