Skip to content

Commit ef34740

Browse files
committed
addition of pre-commit rules
1 parent 4ed8a95 commit ef34740

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.gitignore

+1
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

+15
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)