6

Prettier formatter, AirBnB linter.

Prettier defaults to double quotes for strings. AirBnB loves it some single quotes. Would probably be able to change the configuration in order to maintain sanity *now*, but when I was a newbie dev, I was given a repo with AirBnB linting built in after being recommended Prettier.

It was not fun times.

Comments
  • 1
    @Tamrael single quotes for strings are my nightmares. Mainly because I started programming in C++ and C#. Single quotes are for characters (and thats how I use it in javascript and PHP as well)
  • 2
    @Codex404 Right? It seems so weird to use single quotes for something larger than a character.
  • 0
    @Tamrael how do the type of quotes break things?
  • 0
    @Tamrael ah I always use double unless there is a good reason not to.
Add Comment