Skip to content

Commit 870ee2f

Browse files
committed
docs lint
1 parent b6bbc3e commit 870ee2f

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,8 @@ rules in templates can be disabled with eslint directives with mustache or html
261261
| [no-empty-glimmer-component-classes](docs/rules/no-empty-glimmer-component-classes.md) | disallow empty backing classes for Glimmer components || | |
262262
| [no-tracked-properties-from-args](docs/rules/no-tracked-properties-from-args.md) | disallow creating @tracked properties from this.args || | |
263263
| [template-indent](docs/rules/template-indent.md) | enforce consistent indentation for gts/gjs templates | | 🔧 | |
264+
| [template-missing-invokable](docs/rules/template-missing-invokable.md) | disallow missing helpers, modifiers, or components in \<template\> with auto-fix to import them | | 🔧 | |
264265
| [template-no-let-reference](docs/rules/template-no-let-reference.md) | disallow referencing let variables in \<template\> | ![gjs logo](/docs/svgs/gjs.svg) ![gts logo](/docs/svgs/gts.svg) | | |
265-
| [template-missing-invokable](docs/rules/template-missing-invokable.md) | auto-fix to import missing helpers, modifiers, or components from a configured list in \<template\> | ![gjs logo](/docs/svgs/gjs.svg) ![gts logo](/docs/svgs/gts.svg) | | |
266-
267266

268267
### jQuery
269268

docs/rules/template-missing-invokable.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ember/template-missing-invokable
22

3+
🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
4+
5+
<!-- end auto-generated rule header -->
6+
37
Auto-fixes missing imports for helpers, modifiers, and components in your \<template> tags.
48

59
If you refer to `on` without importing it:
@@ -18,3 +22,9 @@ import { on } from '@ember/modifier';
1822
<button {{on "click" doSomething}}>Do Something</button>
1923
</template>
2024
```
25+
26+
## Examples
27+
28+
## Config
29+
30+
- invokables

0 commit comments

Comments
 (0)