-
Notifications
You must be signed in to change notification settings - Fork 4
/
.pre-commit-config.yaml
45 lines (40 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
38
39
40
41
42
43
44
45
---
# This file configures https://pre-commit.com/
# to use specific hooks and options.
fail_fast: false
repos:
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 1.10.2
hooks:
- id: forbid-binary
exclude: >
(?x)^(
assets/docker_hub_workflow.png
)$
- id: git-check # Configure in .gitattributes
- id: git-dirty # Configure in .gitignore
- id: require-ascii
- id: script-must-have-extension
- id: script-must-not-have-extension
- id: shellcheck
- id: shfmt
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.11.1
hooks:
- id: yamllint
args: ['--format', 'parsable', '--strict']
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.3.0
hooks:
- id: check-added-large-files
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-symlinks
- id: detect-private-key
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.5
hooks:
- id: forbid-crlf
- id: forbid-tabs