Skip to content

fix: S7780 — use String.raw for escaped strings (16 occurrences) #439

@RobertLD

Description

@RobertLD

SonarCloud S7780 — Use String.raw to avoid escaping

16 occurrences where String.raw should be used instead of manual backslash escaping.

Affected files:

  • src/core/ — packs.ts, parsers/csv.ts
  • src/web/dashboard.ts
  • Various test files (registry, reporter, parsers)

Fix: Replace string literals containing \\ escapes with String.raw\...`` where appropriate.

Severity: MINOR | Effort: ~20min

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debtCode quality and technical debt

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions