Skip to content

change to single quote strings #45

@alvaropinot

Description

@alvaropinot

nice work dude!

It would be great if the use of single or double quotes strings could be normalized.

IMO, all to single quotes, so we can set a good start point for beginners. Indeed you recommend https://github.com/feross/standard which states the single quote style.

Rules

2 spaces – for indentation
Single quotes for strings – except to avoid escaping

for example from

var firstCat = { name: "bill", lastName: "the cat", address: "The Alley" }

to

var firstCat = { name: 'bill', lastName: 'the cat', address: 'The Alley' }

If you like the idea, I'll be glad to help with the change and make a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions