Skip to content

docs: sell the cool lints section with real rewrites - #238

Merged
webern merged 2 commits into
mainfrom
m/deslag-cool-lints
Oct 31, 2026
Merged

webern merged 2 commits into
mainfrom
m/deslag-cool-lints

Conversation

@webern

@webern webern commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Human Summary

Describe the lints a bit better in the README.md. LLM written then re-written by me.

Summary

The README's Cool Lints section was two one-line examples and a TODO that said to sell it better. This rewrites the section.

Each of the three construction lints gets its own heading: verbs_no_nouns, verbs_nothing and not_at_all. Each one says what the tic is, what the lint tells the LLM to do, and shows before/after pairs. The pairs are not invented. They are rewrites from this repo's own history, made when each lint was first turned on against the Rust doc comments: #147 for verbs_no_nouns, #193 for not_at_all and #233 for verbs_nothing. The "89 findings in 45 files" count is from the #147 description.

A closing part says why these are not allow-lists: the word sets are Rust data, and each lint must hold its corpus claim (llm files trip it at least 3 times as often as human files, at most 3.5% of human files trip it), which the tests re-derive on every run.

Only README.md changes. The README has llm_edit: false; the owner authorized this edit for the Cool Lints section only.

Testing

  • make ci-fast: exit 0
  • every before/after pair checked against the diff of the commit it came from

References

The section had two one-line examples and a TODO. It now gives
each of verbs_no_nouns, verbs_nothing and not_at_all its own
heading, says what the tic is and what the lint tells the LLM to
do, and shows before/after pairs taken from this repo's own git
history: the rewrites made when each lint was first turned on
against the Rust doc comments (#147, #193, #233). A closing part
explains the corpus claim every construction lint must hold.
@webern webern added the docs Documentation including agent instructions, readmes, code comments, etc. label Oct 31, 2026
@webern
webern merged commit ceecb44 into main Oct 31, 2026
6 checks passed
@webern
webern deleted the m/deslag-cool-lints branch October 31, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation including agent instructions, readmes, code comments, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant