AGENTS.md forbids em dashes in prose, comments and user-facing strings, and nothing checked it: Google.EmDash only flags a dash with a space on both sides, so a bare U+2014 passed. Archie.EmDash rejects U+2014 for Markdown, templates and Go, with a message naming the alternatives. The 40 occurrences it finds are rewritten as a comma, a colon, brackets or a second sentence, and scratch trees are out of scope so a run over the repository reports on what the repository holds.
8 lines
157 B
YAML
8 lines
157 B
YAML
extends: existence
|
|
message: "No em dashes. Use a comma, brackets, a colon, or a second sentence."
|
|
level: error
|
|
nonword: true
|
|
scope: raw
|
|
tokens:
|
|
- '\u2014'
|