-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
41 lines (41 loc) · 1.16 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-xml
- id: check-merge-conflict
- id: check-added-large-files
- id: forbid-new-submodules
- id: detect-private-key
- id: check-shebang-scripts-are-executable
- id: check-case-conflict
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.8.0
hooks:
- id: shellcheck
exclude: hack/orb.bats
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.17.0
hooks:
- id: yamllint
args: [-c=.yamllint]
- repo: local
hooks:
- id: orb-lint
name: orb-lint
entry: hack/orb-lint.sh
language: script
pass_filenames: false
files: ^src.*
- id: orb-pack-and-validate
name: orb-pack-and-validate
entry: hack/orb-pack-and-validate.sh
language: script
pass_filenames: false
files: ^src.*