-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
.pre-commit-config.yaml
34 lines (32 loc) · 938 Bytes
/
.pre-commit-config.yaml
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
30
31
32
33
34
# https://pre-commit.com
default_stages: [commit, manual]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-added-large-files
args:
- '--maxkb=2000'
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-toml
- id: check-vcs-permalinks
- id: detect-private-key
- id: mixed-line-ending
- id: trailing-whitespace
exclude: .*\.md # Markdown
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.32.4
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/jguttman94/pre-commit-gradle
rev: v0.3.0
hooks:
- id: gradle-check
args: [ --wrapper, --output ]
exclude: .*\.md # Markdown
- id: gradle-spotless
args: [ --wrapper, --output ]
exclude: .*\.md # Markdown