Skip to content

0007: Ban code comments ​

Status: accepted

Date: 2026-12-04

PR: #3

Context ​

Comments in code go out of date. An old comment misleads people and agents that read the code.

Options considered ​

  • Nobody weighed another option when the repository made this rule.

Decision ​

A local ESLint rule fails each comment in the code. The intent of the code goes in names and in docs.

Consequences ​

Code must explain itself. Intent is in names and docs, where Vale and reviewers can check it.

Code ​