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

Consider adding no-template-curly-in-string rule #1049

Closed
McGiogen opened this issue Sep 2, 2016 · 1 comment
Closed

Consider adding no-template-curly-in-string rule #1049

McGiogen opened this issue Sep 2, 2016 · 1 comment

Comments

@McGiogen
Copy link

McGiogen commented Sep 2, 2016

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.

@ljharb
Copy link
Collaborator

ljharb commented Sep 2, 2016

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.

@ljharb ljharb closed this as completed Sep 2, 2016
betovieirasilva pushed a commit to betovieirasilva/demo_react that referenced this issue Feb 17, 2017
Resolvido o problema da warning: adding no-template-curly-in-string rule
- airbnb/javascript#1049
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

No branches or pull requests

2 participants