-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
76 lines (67 loc) · 1.89 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
# see https://pre-commit.com
default_language_version:
python: python3.13.0
exclude: |
(?x)^(
.markdownlint.json
)$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
args: ['--maxkb=512']
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: detect-private-key
- id: end-of-file-fixer
- id: mixed-line-ending
args: ['--fix=lf']
- id: trailing-whitespace
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.17.1
hooks:
- id: cspell
# see: https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.44.0
hooks:
- id: markdownlint
- repo: local
hooks:
- id: textlint
name: textlint
language: node
types: [file]
files: \.(txt|md|mdown|markdown)$
entry: textlint
require_serial: false
additional_dependencies:
- 'textlint@12.2.1'
- 'textlint-filter-rule-allowlist@4.0.0'
- 'textlint-rule-ja-no-space-between-full-width@2.2.0'
- 'textlint-filter-rule-comments@1.2.2'
- 'textlint-rule-no-dropping-the-ra@3.0.0'
- 'textlint-rule-terminology@3.0.1'
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.10.0
hooks:
- id: shellcheck
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
name: Format GitHub Actions workflow files
types:
- json
- yaml
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint-docker
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 39.133.3
hooks:
- id: renovate-config-validator
files: renovate\.json