chore: replace em dashes with hyphens, add no-em-dash rule to CLAUDE.md
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* The page used to hold a map of eleven event types to labels and a second map
|
||||
* of seven to colours. The server emits forty-seven. Everything unmapped fell
|
||||
* through to the raw string, so one row read "Key Assigned" in green and the
|
||||
* next "workflow.schedule_updated" in grey — the same kind of fact in two
|
||||
* next "workflow.schedule_updated" in grey - the same kind of fact in two
|
||||
* different formats, which made the column look like it carried a meaning it
|
||||
* did not.
|
||||
*
|
||||
@@ -50,7 +50,7 @@ const CATEGORY_LABELS = new Map(AUDIT_CATEGORIES.map((c) => [c.value, c.label]))
|
||||
* deleting a workflow are the same weight of act.
|
||||
*
|
||||
* Stems match with or without their past tense, because the two spellings both
|
||||
* occur — `auth_provider.delete` beside `key.deleted`, `workload.stop` beside
|
||||
* occur - `auth_provider.delete` beside `key.deleted`, `workload.stop` beside
|
||||
* `workflow.schedule_disabled`. Matching only the past tense left half the
|
||||
* destructive events drawn in the same grey as a settings change.
|
||||
*
|
||||
@@ -69,7 +69,7 @@ const TONE_RULES: [RegExp, AuditTone][] = [
|
||||
|
||||
/*
|
||||
* Only where the derived text is wrong or reads clumsily. Anything absent is
|
||||
* derived, which is the point — this list should stay short.
|
||||
* derived, which is the point - this list should stay short.
|
||||
*/
|
||||
const OVERRIDES: Record<string, string> = {
|
||||
"key.generation_dispatched": "Key generation requested",
|
||||
|
||||
Reference in New Issue
Block a user