-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
83 lines (83 loc) · 2.65 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
83 lines (83 loc) · 2.65 KB
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
77
78
79
80
81
82
83
---
# yamllint disable rule:quoted-strings
# 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: v6.0.0
hooks:
- id: check-json
exclude: ^.(vscode|devcontainer)
- id: check-yaml
exclude: mkdocs.yml$
- id: check-toml
- id: check-merge-conflict
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: check-case-conflict
- id: end-of-file-fixer
- id: check-added-large-files
args:
- "--maxkb=1000"
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md
- id: detect-private-key
- id: no-commit-to-branch
args: [--branch, master, --branch, main, --branch, staging]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.1
hooks:
- id: gitleaks
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.48.0
hooks:
- id: markdownlint-fix
exclude: ^docs/schema/.*$
- id: markdownlint
exclude: ^docs/schema/.*$
- repo: https://github.com/wate/pre-commit-mirrors-textlint
rev: v15.2.0-1
hooks:
- id: textlint-fix
name: textlint-fix
exclude: ^docs/schema/.*$
args:
- --fix
additional_dependencies:
- textlint
- textlint-filter-rule-comments
- textlint-rule-preset-ja-technical-writing
- textlint-rule-preset-ai-writing
- textlint-rule-preset-ja-spacing
- textlint-rule-ja-hiragana-fukushi
- textlint-rule-ja-hiragana-keishikimeishi
- textlint-rule-ja-hiragana-hojodoushi
- "@textlint-ja/textlint-rule-no-synonyms"
- sudachi-synonyms-dictionary
- textlint-rule-prh
- id: textlint
exclude: ^docs/schema/.*$
additional_dependencies:
- textlint
- textlint-filter-rule-comments
- textlint-rule-preset-ja-technical-writing
- textlint-rule-preset-ja-spacing
- textlint-rule-ja-hiragana-fukushi
- textlint-rule-ja-hiragana-keishikimeishi
- textlint-rule-ja-hiragana-hojodoushi
- "@textlint-ja/textlint-rule-no-synonyms"
- sudachi-synonyms-dictionary
- textlint-rule-prh
- repo: https://github.com/digitalpulp/pre-commit-php
rev: "1.4.0"
hooks:
- id: php-lint
- id: php-cs
# args: [--standard=phpcs.xml -p]
- id: php-cbf
# args: [--standard=phpcs.xml -p]
- id: php-stan
args: [--memory-limit=1G]
# exclude: ^tests/.*$
# - id: php-unit