Skip to content

Commit 379a594

Browse files
committed
addition of pre-commit rules
1 parent 54757ec commit 379a594

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/target
22
gpsd4java.iml
33
.idea
4+
.cache

.pre-commit-config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
repos:
3+
- repo: https://github.com/0x08/google-style-precommit-hook
4+
rev: 503fa7c491becee130be17a10b03b275ce6f2330
5+
hooks:
6+
- id: google-style-java
7+
- repo: https://github.com/pre-commit/mirrors-prettier
8+
rev: v3.0.0-alpha.0
9+
hooks:
10+
- id: prettier
11+
- repo: "https://github.com/adrienverge/yamllint"
12+
rev: v1.27.1
13+
hooks:
14+
- id: "yamllint"
15+
args: [--strict]

0 commit comments

Comments
 (0)