-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
29 lines (29 loc) · 1.01 KB
/
.pre-commit-config.yaml
File metadata and controls
29 lines (29 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
repos:
- repo: https://github.com/jguttman94/pre-commit-gradle
rev: v0.3.0
hooks:
- id: gradle-spotless # Lints the project using "gradle spotlessCheck spotlessApply"
# - id: gradle-check # Runs java unit tests using gradle check
# - repo: https://github.com/IamTheFij/docker-pre-commit
# rev: v2.0.1
# hooks:
# - id: docker-compose-check # Checks that docker-compose files are valid
# - repo: https://github.com/APIDevTools/swagger-cli
# rev: v4.0.4
# hooks:
# - id: swagger-validation # Hook to validate swagger specs.
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-executables-have-shebangs
# - id: no-commit-to-branch
# args: ["--branch", "main"]
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v1.0.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]