forked from greggh/claude-code.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
57 lines (50 loc) · 1.58 KB
/
.pre-commit-config.yaml
File metadata and controls
57 lines (50 loc) · 1.58 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.34.0
hooks:
- id: markdownlint
name: Check markdown formatting
args: [--config, .markdownlint.json]
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.30.0
hooks:
- id: yamllint
args: [--config-file, .yamllint.yml]
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.9.0
hooks:
- id: shellcheck
- repo: local
hooks:
- id: fix-markdown-comprehensive
name: Fix common markdown issues comprehensively
entry: ./scripts/markdown/fix_markdown_comprehensive.sh
language: script
pass_filenames: false
verbose: true
- id: fix-list-numbering
name: Fix ordered list numbering
entry: ./scripts/markdown/fix_list_numbering.sh
language: script
pass_filenames: false
verbose: true
- id: fix-heading-levels
name: Fix markdown heading levels
entry: ./scripts/markdown/fix_heading_levels.sh
language: script
pass_filenames: false
verbose: true
- id: markdownlint-fix
name: Fix remaining markdown issues with markdownlint
entry: bash -c 'markdownlint --fix "**/*.md" --ignore node_modules'
language: system
pass_filenames: false
types: [markdown]
verbose: true