-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
38 lines (38 loc) · 1.05 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
---
fail_fast: false
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.5.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
args: [--fix, "lf"]
# - id: no-commit-to-branch
# args: [--branch, main, --branch, master, --branch, devel]
- id: trailing-whitespace
- repo: https://github.com/adrienverge/yamllint
rev: "v1.33.0"
hooks:
- id: yamllint
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
rev: "v1.6.26.11"
hooks:
- id: actionlint
additional_dependencies: [shellcheck-py>=0.9.0.6]
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: "v0.9.0.6"
hooks:
- id: shellcheck
# - repo: https://github.com/rhysd/actionlint
# rev: v1.6.26
# hooks:
# - id: actionlint