Skip to content

Commit

Permalink
addition of pre-commit rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Turner committed Feb 11, 2025
1 parent cab36fe commit 171c323
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/target
gpsd4java.iml
.idea
.cache
15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
repos:
- repo: https://github.com/0x08/google-style-precommit-hook
rev: 503fa7c491becee130be17a10b03b275ce6f2330
hooks:
- id: google-style-java
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.0
hooks:
- id: prettier
- repo: "https://github.com/adrienverge/yamllint"
rev: v1.27.1
hooks:
- id: "yamllint"
args: [--strict]

0 comments on commit 171c323

Please sign in to comment.