Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Prefer single quotes #29

Open
sphilee opened this issue Jan 22, 2019 · 0 comments
Open

Prefer single quotes #29

sphilee opened this issue Jan 22, 2019 · 0 comments

Comments

@sphilee
Copy link

sphilee commented Jan 22, 2019

  1. More JavaScript teams do this (e.g. airbnb, standard, npm, node, google/angular, facebook/react, prettier).
  2. It's easier to type (no shift needed on most keyboards).
  3. Allows easier write html within javascript
  4. Single quotes can often look better when you're using them to represent an empty string '' vs "" (too many little marks in the latter and can be difficult read)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant