1
1
# Vale configuration file for Coder documentation
2
- # Based on GitLab Vale configuration using Google and GitLab style guides
2
+ # Based on Google and GitLab style guides with additional linters
3
3
4
4
StylesPath = styles
5
- MinAlertLevel = suggestion
5
+ MinAlertLevel = warning
6
6
7
7
# External packages
8
- Packages = Google, write-good
8
+ Packages = Google, write-good, proselint, alex, readability
9
9
10
+ # Apply to all Markdown files except excluded paths
10
11
[*.md]
11
- BasedOnStyles = Google, write-good
12
+ BasedOnStyles = Google, GitLab, write-good, proselint, alex, readability
13
+
14
+ # Rule-specific configuration
15
+ Google.Passive = warning
16
+ Google.WordList = warning
17
+ Google.Contractions = suggestion
18
+ Google.Acronyms = warning
19
+
20
+ write-good.E-Prime = NO # Disable E-Prime check (avoiding "to be" forms)
21
+ write-good.TooWordy = warning
22
+ write-good.Passive = warning
23
+ write-good.Weasel = warning
24
+
25
+ proselint.Annotations = error # Ensure TODO, FIXME, etc. are addressed
26
+ proselint.Cliches = warning
27
+ proselint.Typography = warning
28
+ proselint.Hyperbole = suggestion
29
+
30
+ alex.Ablist = warning # Catch ableist language
31
+ alex.Gendered = warning # Catch gendered language
32
+
33
+ # Exclude auto-generated documentation
34
+ [docs/reference/*.md]
35
+ BasedOnStyles = NO
36
+
37
+ # Readability configuration
38
+ readability.FleschKincaid = NO # Don't enforce specific readability score
39
+ readability.GunningFog = NO # Don't enforce specific readability score
40
+
41
+ # Informal style allowances
42
+ write-good.TooWordy = suggestion # Less strict on informal wording
43
+ proselint.Hyperbole = NO # Allow more informal/enthusiastic language
12
44
13
45
# Ignore code blocks and front matter
14
46
BlockIgnores = (?s)```(.|\n)*?```
15
47
BlockIgnores = (?s){{<[^>]*>}}(.|\n)*?{{</[^>]*>}}
48
+ BlockIgnores = (?s)`[^`\n]+` # Inline code
49
+ BlockIgnores = (?s)^\s*---\n.*?\n---\n # YAML frontmatter
16
50
17
- # Vocabulary exceptions
18
- TokenIgnores = (\*\*.*?\*\*), (Coder), (OIDC)
51
+ # Vocabulary exceptions - terms that should be allowed
52
+ TokenIgnores = (\*\*.*?\*\*), (Coder), (OIDC), (OAuth), (Kubernetes), (K8s), (EC2), (AWS), (VM), (CLI),
53
+ (UI), (API), (IDE), (VS Code), (JetBrains), (dev container), (Terraform), (Docker), (kubectl),
54
+ (Helm), (GitHub), (SSH), (Git), (Node.js), (npm), (dev environment), (self-hosted)
19
55
20
56
# Project-specific word list
21
57
Vale.Terms = YES
0 commit comments