Skip to content

Enable avoidEscape in eslint string config so we can avoid escaping single quotes #7366

Closed

Description

This is just an eslint/code quality issue. I've noticed we force single quotes at all times, even when the string contains a single quote. This means we write 'It\'s my birthday!' rather than "It's my birthday!". The latter is way more readable, fewer things to type, etc.

It's totally nicer and eslint supports this setting (avoidEscape ), so we should use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

[Type] Code QualityIssues or PRs that relate to code quality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions