no-em-dash pre-commit hook for user-facing strings, existing em-dashes rewritten

frontend/scripts/no-em-dash.ts walks src/ with the TypeScript parser and flags
an em-dash in JSX text, string literals and template text. A bare "—"
placeholder passes, separators go in no-em-dash.allow.json. The script is
identical to index's copy.
This commit is contained in:
2026-10-15 22:03:36 +02:00
parent 8d3165c8c4
commit baa73bb3a3
16 changed files with 115 additions and 27 deletions
+1
View File
@@ -0,0 +1 @@
{}