-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
72 lines (65 loc) · 1.74 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
72 lines (65 loc) · 1.74 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
---
ci:
autofix_prs: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-merge-conflict
- id: check-case-conflict
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.4.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args:
- feat
- fix
- docs
- style
- refactor
- perf
- test
- chore
- build
- ci
- repo: https://github.com/adrienverge/yamllint
rev: v1.38.0
hooks:
- id: yamllint
args: [--strict]
types: [yaml]
- repo: local
hooks:
- id: rust-format
name: Check Rust formatting
entry: just format
language: system
pass_filenames: false
types: [rust]
- id: rust-lint
name: Rust clippy lints
entry: just lint
language: system
pass_filenames: false
types: [rust]
- id: validate-law-yaml
name: Validate law YAML schema
entry: just validate
language: system
pass_filenames: true
files: ^corpus/regulation/.*\.yaml$
# Skip dot-prefixed sidecars (.enrichment.yaml, .enrichment-result.yaml):
# enrichment metadata/result envelopes, not law files.
exclude: (^|/)\.[^/]*\.yaml$
types: [yaml]
- id: skills-no-casus
name: Skills blijven dossier-agnostisch (geen casus-inhoud)
entry: script/check-skills-no-casus.sh
language: system
pass_filenames: false
files: ^\.claude/skills/