You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a common and easy mistake to write string templates with single quote char ' instead of backticks , especially when you are fixing a prefer-template` error, converting a string to template but forgetting about backticks.
Adding no-template-curly-in-string rule can help to find those errors.
The text was updated successfully, but these errors were encountered:
Since I'm one of the ones that suggested that rule in the first place (eslint/eslint#5850 / eslint/eslint#6186 ), I'm definitely planning on enabling it prior to the next semver-major release. Our release process ensures that all rules are configured, so it will definitely be covered.
It is a common and easy mistake to write string templates with single quote char
'
instead of backticks, especially when you are fixing a
prefer-template` error, converting a string to template but forgetting about backticks.Adding
no-template-curly-in-string
rule can help to find those errors.The text was updated successfully, but these errors were encountered: