String literals should be written with single quotes unless using double quotes would save on escape characters.
Bad: double quotes
content: "hello";Good: single quotes
content: 'hello';Good: double quotes prevent the need for escaping single quotes
content: "'hello'";Single quotes are easier to type by virtue of not requiring the Shift key on
most popular keyboard layouts.
| Configuration Option | Description |
|---|---|
style |
single_quotes or double_quotes (default single_quotes) |