Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Code Spell check by disabling String.raw rule #9449

Merged
merged 1 commit into from
May 14, 2024

Conversation

pabzm
Copy link
Member

@pabzm pabzm commented May 14, 2024

The eslint package "eslint-plugin-unicorn" introduced a new rule in version 53.0.0 that suggests to use String.raw in order to avoid the need for escaping backslashes.

While this certainly is a good idea we cannot follow that rule as long as we support Internet Explorer 11+, which doesn't support template literals (and thus String.raw).

The eslint package "eslint-plugin-unicorn" introduced a new rule in
version 53.0.0 that suggests to use `String.raw` in order to avoid the
need for escaping backslashes.

While this certainly is a good idea we cannot follow that rule as long
as we support Internet Explorer 11+, which doesn't support template
literals (and thus `String.raw`).
Copy link
Contributor

@miaulalala miaulalala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

@miaulalala miaulalala merged commit a239170 into roundcube:master May 14, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants