Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 851 Bytes

File metadata and controls

37 lines (23 loc) · 851 Bytes

ember/template-quotes

🔧 This rule is automatically fixable by the --fix CLI option.

Enforces consistent quote style in templates.

This is a stylistic rule that is disabled by default.

Rule Details

This rule enforces consistent usage of double or single quotes in templates.

Config

This rule takes one option, a string which must be either "double" or "single". The default is "double".

Examples

Examples of correct code for this rule:

<template>
  <div class="foo"></div>
</template>
<template>
  <MyComponent @arg="value" />
</template>

References