forked from Activiti/Activiti
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (38 loc) · 1.03 KB
/
.pre-commit-config.yaml
File metadata and controls
38 lines (38 loc) · 1.03 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
30
31
32
33
34
35
36
37
38
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-json
- id: check-yaml
- id: check-xml
exclude: ^.*parsing-error\.bpmn20\.xml$
- id: check-merge-conflict
- id: fix-byte-order-marker
- id: mixed-line-ending
args: ["--fix=lf"]
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
types_or:
- java
- markdown
additional_dependencies:
- prettier@3.6.2
- prettier-plugin-java@2.7.4
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.33.0
hooks:
- id: check-dependabot
- id: check-github-actions
- id: check-github-workflows
- repo: https://github.com/returntocorp/semgrep
rev: v1.31.2
hooks:
- id: semgrep
types_or:
- java
- xml
args: ["--config", ".semgrep.yaml", "--error", "--metrics=off"]