-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
37 lines (36 loc) · 1.14 KB
/
.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
35
36
37
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
verbose: true
exclude: kind/
- id: end-of-file-fixer
verbose: true
- id: trailing-whitespace
verbose: true
- id: check-case-conflict
verbose: true
- id: fix-byte-order-marker
verbose: true
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.28.4
hooks:
- id: check-jsonschema
name: "Check Docker Extra Stack"
language: python
files: docker/compose/compose.extra.yaml
types: [yaml]
args: ["--schemafile", "docker/.json-schemas/extra/main-schema.json"]
- id: check-jsonschema
name: "Check Docker Base Stack"
language: python
files: docker/compose/compose.base.yaml
types: [yaml]
args: ["--schemafile", "docker/.json-schemas/base/main-schema.json"]
- id: check-jsonschema
name: "Check Docker Java Stack"
language: python
files: docker/compose.yaml
types: [yaml]
args: ["--schemafile", "docker/.json-schemas/java/main-schema.json"]