Skip to content

Conversation

@tashian
Copy link
Contributor

@tashian tashian commented Feb 3, 2026

Summary

This PR significantly reduces Vale linting issues through a two-phase approach:

Phase 1: Rule configuration (previous commits)

  • Disabled overly strict rules that don't fit technical documentation
  • Initial reduction from 2,659 to 696 issues

Phase 2: Content fixes (this commit)

  • Converted 394 Title Case headings to sentence case
  • Fixed repeated word typos ("to to", "the the", "will will", etc.)
  • Fixed heading punctuation (removed trailing periods)
  • Fixed capitalization (ChromeOS, DevOps, ACLs, HSMs, YubiKeys)

Final result

2,659 → 347 issues

Configuration changes

Headings.yml updates:

  • Added proper noun exceptions (Apache, Azure, Docker, etc.)
  • Added acronym exceptions (ACME, API, TLS, OAuth, etc.)
  • Added indicators for : and - patterns

Branding.yml updates:

  • Added YubiKey substitution rules

Remaining issues (347)

Rule Count Notes
Google.Colons 76 Technical docs often have code after colons
Google.Headings 64 Edge cases, product names
Google.Latin 42 "e.g." and "i.e." usage
Google.OptionalPlurals 34 "(s)" patterns in technical docs
Vale.Repetition 18 Mostly in auto-generated step-cli/reference
Smallstep.Branding 19 Mostly URLs/email addresses

Test plan

  • Run vale . and verify reduced issue count
  • Spot check edited files for readability
  • Verify heading changes render correctly

🤖 Generated with Claude Code

@tashian tashian requested a review from a team as a code owner February 3, 2026 13:42
@tashian tashian force-pushed the carl/more-vale-fixes branch 3 times, most recently from 709e0cc to 7dce48b Compare February 3, 2026 13:49
Disable overly strict rules for technical documentation:
- write-good.TooWordy (flags "implement", "multiple", "additional")
- write-good.Weasel (flags "usually", "various")
- Google.Units (requires spaces in Go durations like "168h")
- Google.WordList (wants "app" instead of "application", etc.)

Fix legitimate issues across 48 files:
- Replace "e.g." with "for example" (Google.Latin)
- Remove exclamation points (Google.Exclamation)
- Rewrite "So..." sentence starters (write-good.So)
- Remove first-person pronouns (Google.FirstPerson)
- Rewrite "There is/are" starters (write-good.ThereIs)
- Fix Smallstep branding

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@tashian tashian force-pushed the carl/more-vale-fixes branch from 7dce48b to d96e5dd Compare February 3, 2026 13:51
tashian and others added 2 commits February 3, 2026 08:11
Exclamation points are appropriate for congratulatory messages,
acknowledgments, and examples that show actual program output.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Convert 394 Title Case headings to sentence case
- Add proper noun and acronym exceptions to Headings.yml
- Add YubiKey branding substitutions
- Fix repeated word typos (to to, the the, will will, etc.)
- Fix heading punctuation (remove trailing periods)
- Fix capitalization: ChromeOS, DevOps, ACLs, HSMs, YubiKeys

Reduces Vale issues from 696 to 347 (50% reduction).

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@tashian tashian changed the title Reduce Vale linting issues by 80% Reduce Vale linting issues Feb 3, 2026
tashian and others added 8 commits February 3, 2026 09:00
- Fix Google.OptionalPlurals: change patterns like client(s) to clients
- Fix Google.Colons: lowercase text after colons (e.g., "Note: The" → "Note: the")
- Disable Google.Slang rule to allow "TL;DR" in technical docs
- Skip step-cli/reference/ (auto-generated files)

Remaining colon issues are false positives (acronyms like ECDSA, AWS, TLS).

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@tashian tashian enabled auto-merge February 3, 2026 18:15
@tashian tashian merged commit cabe905 into main Feb 3, 2026
2 of 4 checks passed
@tashian tashian deleted the carl/more-vale-fixes branch February 3, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants