UNPKG

canonical

Version:

Canonical code style linter and formatter for JavaScript, SCSS, CSS and JSON.

26 lines (17 loc) 484 B
# Quotes Rule `quotes` will enforce whether single quotes (`''`) or double quotes (`""`) should be used for all strings. ## Options * `style`: `single`/`double` (defaults to `single`) ## Examples When `style: single`, the following are allowed. When `style: double`, the following are disallowed: ```scss .foo { content: 'bar'; } ``` When `style: double`, the following are allowed. When `style: single`, the following are disallowed: ```scss .foo { content: "bar"; } ```