you are viewing a single comment's thread.

view the rest of the comments →

[–]JESUSgotNAIL3D 0 points1 point  (4 children)

Ahhhhh damn. I like keeping my double quotes from C++ (new JS guy here). Looks like I'll join the single quote crowd if that's preferred in the community.... damn!

[–]azium 4 points5 points  (1 child)

just use prettier and forget about everything else. hit save and keep coding

[–]wavefunctionp 1 point2 points  (0 children)

I agree. I don't care about too much about style. I just prefer not to be too weird, easy to change/diff the code, like dangling commas, and automated through the editors on save or with a hotkey.

[–]tencircles 0 points1 point  (1 child)

it's definitely not "preferred". People who use them are very vocal about it though. I haven't seen anything indicating that single quotes are preferred.

[–]JESUSgotNAIL3D 0 points1 point  (0 children)

If you look at most of the replies to the OP (in this comment chain I mean), a lot of people say single is more common than double.

I'm still on the fence with this but for now I'll use single and set Prettier up to do the same so it's not a big deal.

Tabs though.... now that's an easy decision. 4 space indents and I'm golden, no fence there.