Skip to content

Commit 9d58fed

Browse files
committed
add precommits
1 parent d2c3e21 commit 9d58fed

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.pre-commit-config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
fail_fast: true
2+
3+
repos:
4+
- repo: https://github.com/pre-commit/mirrors-prettier
5+
rev: v3.1.0
6+
hooks:
7+
- id: prettier
8+
types_or: [yaml, json5]
9+
10+
- repo: https://github.com/astral-sh/ruff-pre-commit
11+
rev: v0.8.1
12+
hooks:
13+
- id: ruff-format
14+
- id: ruff
15+
args: [--fix, --exit-non-zero-on-fix]

0 commit comments

Comments
 (0)