Skip to content

Commit ed69657

Browse files
chore: add pre-commit (#21)
1 parent 299dbd8 commit ed69657

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/doublify/pre-commit-rust
3+
rev: v1.0
4+
hooks:
5+
- id: fmt
6+
- id: clippy
7+
8+
- repo: https://github.com/pre-commit/mirrors-prettier
9+
rev: v3.1.0
10+
hooks:
11+
- id: prettier
12+
language: node
13+
additional_dependencies:
14+
- prettier@^3.2.5

0 commit comments

Comments
 (0)