-
Notifications
You must be signed in to change notification settings - Fork 17
/
.pre-commit-config.yaml
60 lines (53 loc) · 1.66 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
name: check for added large files
description: prevents giant files from being committed.
entry: check-added-large-files
language: python
stages: [commit, push, manual]
exclude: ^tx
- id: check-executables-have-shebangs
name: check that executables have shebangs
description: ensures that (non-binary) executables have a shebang.
entry: check-executables-have-shebangs
language: python
types: [text, executable]
stages: [commit, push, manual]
- id: check-yaml
name: check yaml
description: checks yaml files for parseable syntax.
entry: check-yaml
args: ['--allow-multiple-documents']
language: python
exclude: '.ytt.yaml$'
types: [yaml]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v2.7.1'
hooks:
- id: prettier
types_or: [css, javascript]
- repo: local
hooks:
- id: actionlint
name: actionlint
entry: actionlint
language: golang
additional_dependencies:
[github.com/rhysd/actionlint/cmd/actionlint@v1.6.23]
types: [yaml]
files: '^.github/workflows/'
##########
# pre-commit-ci config
ci:
autofix_commit_msg: |
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
autofix_prs: true
autoupdate_branch: ''
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: weekly
skip: []
submodules: false