generated from emmeowzing/circleci-orb-template
-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.pre-commit-config.yaml
35 lines (33 loc) · 904 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
35
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
args: [--maxkb=10000, --enforce-all]
# - id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: mixed-line-ending
- id: trailing-whitespace
- repo: local
hooks:
- id: shellcheck-bash
language: script
name: shellcheck bash scripts
entry: /usr/bin/env shellcheck
args:
- -x
- --shell=bash
files: '^.*.sh$'
- id: shellcheck-bats
language: script
entry: /usr/bin/env shellcheck
name: shellcheck bats tests
args:
- -x
- --shell=bats
files: '^.*.bats$'
- repo: https://github.com/premiscale/pre-commit-hooks
rev: v0.0.9
hooks:
- id: msg-issue-prefix