Repository navigation
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
75 lines (67 loc) · 1.95 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
75 lines (67 loc) · 1.95 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
priorities:
fix: 0
fix-eol: 20
fix-whitespace: 30
check: 40
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: check-added-large-files
args: [--maxkb=500]
priority: check
- id: check-case-conflict
priority: check
- id: check-merge-conflict
priority: check
- id: check-json
priority: check
- id: check-yaml
priority: check
- id: end-of-file-fixer
priority: fix-eol
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
priority: fix-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0494aa7fa1314e98913a41227d8f0a515b2c1049 # frozen: 0.38.2
hooks:
- id: check-dependabot
priority: check
- id: check-github-workflows
priority: check
- repo: https://github.com/rhysd/actionlint
rev: 914e7df21a07ef503a81201c76d2b11c789d3fca # frozen: v1.7.12
hooks:
- id: actionlint
priority: check
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: fa412071e4f5d44d44f9e365f4676f9df92456a2 # frozen: v1.30.1
hooks:
- id: zizmor
priority: check
- repo: https://github.com/crate-ci/typos
rev: 00f422f3b19c57bc6338715ebfe3316d38768461 # frozen: v1.50.3
hooks:
- id: typos
priority: check
- repo: https://github.com/oxc-project/mirrors-oxlint
rev: 7ab19fc41bc7c63cb01d4322509971371c285e16 # frozen: v1.85.0
hooks:
- id: oxlint
priority: check
- repo: local
hooks:
- id: typecheck
name: typecheck
entry: bun run typecheck
language: system
pass_filenames: false
files: ^src/.*\.(ts|tsx|astro)$
priority: check
- repo: meta
hooks:
- id: check-hooks-apply
priority: check
- id: check-useless-excludes
priority: check