Skip to content

Commit 399140f

Browse files
committed
chore: pre-commit config
1 parent 6e4e3e3 commit 399140f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.pre-commit-config.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
repos:
2+
- repo: https://github.com/commitizen-tools/commitizen
3+
rev: master
4+
hooks:
5+
- id: commitizen
6+
stages: [commit-msg]
7+
- repo: https://github.com/pre-commit/pre-commit-hooks
8+
rev: v1.2.0
9+
hooks:
10+
- id: trailing-whitespace
11+
- id: check-merge-conflict
12+
# - repo: https://github.com/gherynos/pre-commit-java
13+
# rev: v0.1.0 # Use the ref you want to point at
14+
# hooks:
15+
# - id: pmd
16+
# - id: cpd
17+
# - id: checkstyle
18+
# # exclude: "**/domain/*,**/*Form.java,**/*Value.java,**/*Request.java,**/*Properties.java,**/Application.*,**/*Initializer.*"
19+
# args: ["-c", "checkstyle.xml"]

0 commit comments

Comments
 (0)