🔧 This rule is automatically fixable by the --fix
CLI option.
Enforce consistent indentation for fcct templates.
This rule extends the base eslint indent rule, but only applies the indents to Glimmer Nodes.
Otherwise, it receives the same options as the original and can run together with the base rule.
Name | Type | Default |
---|---|---|
ignoreComments |
Boolean | false |
ignoredNodes |
String[] |
Examples of incorrect code for this rule:
// my-octane-component.gjs
<template>
<div>
</div>
</template>
}
Examples of correct code for this rule:
// my-component.gjs
<template>
<div>
</div>
</template>