vendredi 27 mars 2015

How to tell eslint that you prefer single quotes around your strings

I'm new to eslint and it's spewing out a ton of errors telling me to use doublequotes:



error Strings must use doublequote


That's not my preference. I've got an .eslintrc file set up with the basics:



{
"env": {
"node": 1
}
}


I'd like to configure it for single quotes.


Aucun commentaire:

Enregistrer un commentaire