forked from gitpod-io/workspace-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
34 lines (31 loc) · 961 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-yaml
args: [--allow-multiple-documents]
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-symlinks
- id: mixed-line-ending
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: "2.1.5"
hooks:
- id: forbid-binary
- id: script-must-have-extension
- id: shellcheck
- id: shfmt
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.30.0
hooks:
- id: markdownlint
args: ["--ignore", "CHANGELOG.md", "--ignore", "README.md"]
# TODO: enable after fixing lint errors
# - repo: https://github.com/hadolint/hadolint
# rev: v2.4.1
# hooks:
# - id: hadolint-docker