Skip to content

Conversation

@Maecenas
Copy link
Contributor

@Maecenas Maecenas commented Sep 7, 2018

Remove redundant quotes

// bad
const name = "Capt. Janeway";

// bad - template literals should contain interpolation or newlines
const name = `Capt. Janeway`;

// good
const name = 'Capt. Janeway';

https://github.com/airbnb/javascript#strings
https://eslint.org/docs/rules/quotes.html

Remove redundant quotes
@ruanyf
Copy link
Owner

ruanyf commented Sep 8, 2018

Thanks

@ruanyf ruanyf merged commit 024ff64 into ruanyf:gh-pages Sep 8, 2018
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