Repository navigation
Commit 8d8b0a3
docs: write down the spelling convention
Asked whether the release notes are in American English. They are not —
they are British, which matches the codebase (behaviour 19 to behavior
5, honoured 10 to 0). But nothing said so, and the published notes show
it: v2.6.0 uses "behavior" and "honoured" in the same document.
AGENTS.md § 6 now states it, with the part that actually causes mistakes:
identifiers keep their real spelling. --color, NO_COLOR and ansi.Color()
are literals a reader types, and an API field named behavior stays
behavior when quoted. One sentence can carry both spellings and be
correct.
The release-notes voice guide points at it rather than restating it,
since this applies to help text and docs too.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 68f1f14 commit 8d8b0a3
2 files changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
337 | 353 | | |
338 | 354 | | |
339 | 355 | | |
| |||
0 commit comments