Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 852 Bytes

quotes.md

File metadata and controls

37 lines (22 loc) · 852 Bytes

quotes

💅 The extends: 'stylistic' property in a configuration file enables this rule.

🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Enforce the consistent use of either double or single quotes.

Examples

Enforce either:

<div class="my-class">test</div>
{{my-helper "hello there"}}

or:

<div class='my-class'>test</div>
{{my-helper 'hello there'}}

Configuration

The following values are valid configuration:

  • string -- "double" requires the use of double quotes wherever possible, "single" requires the use of single quotes wherever possible

Related Rules

References