ember/template-no-trailing-spaces
March 21, 2026 Ā· View on GitHub
š§ This rule is automatically fixable by the --fix CLI option.
Disallow trailing whitespace at the end of lines.
Examples
In examples below, ⢠represents a trailing space character.
This rule forbids the following:
<div>test</div>ā¢ā¢ ā¢ā¢ā¢ā¢ā¢
<template>
<div>Hello</div>ā¢ā¢
</template>
This rule allows the following:
<div>test</div>
<template>
<div>Hello</div>
</template>
Related Rules
- no-trailing-spaces from eslint