Skip to content

#20: align catalogue smell titles with docs/smell-vocabulary.md#29

Merged
devill merged 2 commits into
mainfrom
issue-20-catalogue-title-parity
Jun 17, 2026
Merged

#20: align catalogue smell titles with docs/smell-vocabulary.md#29
devill merged 2 commits into
mainfrom
issue-20-catalogue-title-parity

Conversation

@devill

@devill devill commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Closes #20.

Phase 1 copied catalogue titles verbatim from the old tool-keyed rules and deferred aligning them with the canonical docs/smell-vocabulary.md table. This reconciles them.

Changes (atomic commits)

  • #20: align catalogue titles with docs/smell-vocabulary.md — fixes the four drifted titles, content-only, no behavioural change:
    • var-declaration: var declaration`var` declaration
    • warning-comment: Warning commentWarning comment (TODO/FIXME/…)
    • explicit-any: Explicit anyExplicit `any`
    • non-essential-comment: Comment foundNon-essential comment
  • #20: gate catalogue titles against the vocabulary doc — parses the doc's Catalogue table and asserts every defaultRules title matches, so future drift fails the suite.

Notes

  • No severity / id / source / changedFilesOnly fields touched — title-only.
  • No CLI output snapshots needed updating; no test asserted these strings before.

Gates

  • pnpm build, pnpm lint — clean
  • pnpm test — 386 passed (+1 new gate)

🤖 Generated with Claude Code


Generated by Claude Code

claude added 2 commits June 16, 2026 21:37
Reconcile the four drifted titles (var-declaration, warning-comment,
explicit-any, non-essential-comment) with the canonical vocabulary table.
Content-only; no behavioural change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nq6xHU6JtSNpYWhMYjXB15
Parse the docs/smell-vocabulary.md catalogue table and assert every
defaultRules title matches, so future drift fails the suite.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nq6xHU6JtSNpYWhMYjXB15
@devill
devill marked this pull request as ready for review June 17, 2026 14:37
@devill
devill merged commit 106443c into main Jun 17, 2026
2 checks passed
@devill
devill deleted the issue-20-catalogue-title-parity branch June 19, 2026 12:21
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.

Align catalogue smell titles with docs/smell-vocabulary.md

2 participants