Skip to content

Lint documentation and clean up Markdown - #94

Merged
dblock merged 1 commit into
masterfrom
dblock/docs-lint
Nov 24, 2026
Merged

dblock merged 1 commit into
masterfrom
dblock/docs-lint

Conversation

@dblock

@dblock dblock commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Adds documentation linting and cleans up the Markdown.

  • Adds rubocop-md, rubocop-prose, rubocop-spellcheck, and rubocop-yaml with RuboCop 1.92 and rubocop-rake. They install only on MRI Ruby 3.3 and newer, so older Rubies in the test matrix still run specs.
  • rake lint checks Ruby, Ruby examples in Markdown, YAML, and spelling. A new Lint workflow (lint.yml) runs it on Ruby 4.0. rake runs lint and specs where lint is available.
  • .spellcheck.txt holds reviewed project vocabulary. .rubocop_todo.yml is regenerated for RuboCop 1.92, so existing Ruby code is not changed here.
  • README: puts the title above the badges, adds an Installation section, fixes "a ordered", promotes Contributing and License with links to the project documentation, and moves the coverage note into a new CONTRIBUTING.md.

Validation: bundle exec rake on Ruby 4.0.9 with a local single-node MongoDB 8.0 replica set (MONGODB_HOST=localhost:27018) runs 38 files through RuboCop with no offenses, and 387 examples pass.

This PR was written by an AI (Claude) on behalf of @dblock.

🤖 Generated with Claude Code

https://claude.ai/code/session_011Gr21iR4JxWxGGyXdJ3uc9

Add rubocop-md, rubocop-prose, rubocop-spellcheck, and rubocop-yaml
with RuboCop 1.92 on MRI Ruby 3.3 and newer, run them through a
`rake lint` task in a separate Lint workflow, add reviewed project
vocabulary to .spellcheck.txt, and clean up the Markdown documentation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Gr21iR4JxWxGGyXdJ3uc9
@dblock dblock mentioned this pull request Nov 23, 2026
@dblock
dblock added this pull request to stack #97 November 23, 2026 23:09
@dblock
dblock merged commit dfe0785 into master Nov 24, 2026
17 checks passed
@dblock
dblock deleted the dblock/docs-lint branch November 24, 2026 19:17
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.

1 participant