diff --git a/README.md b/README.md index 299aaf45c0..3335ec33d5 100644 --- a/README.md +++ b/README.md @@ -261,6 +261,7 @@ rules in templates can be disabled with eslint directives with mustache or html | [no-empty-glimmer-component-classes](docs/rules/no-empty-glimmer-component-classes.md) | disallow empty backing classes for Glimmer components | ✅ | | | | [no-tracked-properties-from-args](docs/rules/no-tracked-properties-from-args.md) | disallow creating @tracked properties from this.args | ✅ | | | | [template-indent](docs/rules/template-indent.md) | enforce consistent indentation for gts/gjs templates | | 🔧 | | +| [template-missing-invokable](docs/rules/template-missing-invokable.md) | disallow missing helpers, modifiers, or components in \ with auto-fix to import them | | 🔧 | | | [template-no-let-reference](docs/rules/template-no-let-reference.md) | disallow referencing let variables in \ | ![gjs logo](/docs/svgs/gjs.svg) ![gts logo](/docs/svgs/gts.svg) | | | ### jQuery diff --git a/docs/rules/template-missing-invokable.md b/docs/rules/template-missing-invokable.md new file mode 100644 index 0000000000..cf0fd3abf2 --- /dev/null +++ b/docs/rules/template-missing-invokable.md @@ -0,0 +1,30 @@ +# ember/template-missing-invokable + +🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix). + + + +Auto-fixes missing imports for helpers, modifiers, and components in your \