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

ESLint: Strings must use doublequote #60

Open
ORESoftware opened this issue May 13, 2015 · 1 comment
Open

ESLint: Strings must use doublequote #60

ORESoftware opened this issue May 13, 2015 · 1 comment

Comments

@ORESoftware
Copy link

May your guide ever be holy, however:

Using ESLint it tells me to use double-quotes with strings....what the hell.

18:0 error Strings must use doublequote quotes

Please advise.

@gerardmrk
Copy link

You can change the default rule by adding this to the rules section in your .eslintrc file (which ideally should be situated in the root of your app directory):

"quotes": [1, "single"]

If you've never set up a .eslintrc file before, go to http://eslint.org/docs/user-guide/configuring on how to set one up.

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