-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlefthook.yml
More file actions
29 lines (28 loc) · 842 Bytes
/
Copy pathlefthook.yml
File metadata and controls
29 lines (28 loc) · 842 Bytes
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
glob_matcher: doublestar
pre-commit:
commands:
format-pascal:
glob: "**/*.{pas,dpr}"
run: ./format.pas {staged_files}
stage_fixed: true
check-trunc-guards:
glob: "**/*.{pas,dpr}"
run: npx tsx scripts/check-trunc-guards.ts
lint-markdown:
glob: "**/*.md"
run: npx markdownlint-cli2 {staged_files}
check-doc-links:
glob: "**/*.md"
run: npx tsx scripts/check-doc-links.ts
check-doc-symbols:
glob: "**/*.md"
run: npx tsx scripts/check-doc-symbols.ts
check-doc-duplication:
glob: "**/*.md"
run: npx tsx scripts/check-doc-duplication.ts
check-doc-length:
glob: "**/*.md"
run: npx tsx scripts/check-doc-length.ts
check-conformance-claims:
glob: "**/*.{md,ts,tsx}"
run: npx tsx scripts/check-conformance-claims.ts