slop/typographic-chars
No typographic characters in source code
| Severity | info |
| Tiers | all |
| Stacks | any |
| Scope | root |
| Kind | expr |
| Source | library v0.3.1 |
| Selected by | fleetlint-slop@v0.3.1 |
Requirement
Source code uses ASCII quotes, hyphens and three dots, not curly quotes, long dashes, ellipsis characters or arrows.
Why
They are invisible in review, break grep and are a trace of pasted prose.
Check
For each item in:
codegrep("code", r'[—–“”‘’…→←⇒]')falseFix
Replace with the ASCII equivalent.
Agent instruction: Replace with ASCII equivalents; keep characters that are user-facing text or test data.
See: https://fleetlint.org/baseline/#slop, https://fleetlint.org/slop/#comments-and-text
Generated by fleetlint docs from catalog v0.3.1.