You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -256,12 +256,12 @@ rules in templates can be disabled with eslint directives with mustache or html
256
256
|[template-no-outlet-outside-routes](docs/rules/template-no-outlet-outside-routes.md)| disallow {{outlet}} outside of route templates ||||
257
257
|[template-no-page-title-component](docs/rules/template-no-page-title-component.md)| disallow usage of ember-page-title component ||||
258
258
|[template-no-passed-in-event-handlers](docs/rules/template-no-passed-in-event-handlers.md)| disallow passing event handlers directly as component arguments ||||
259
-
|[template-no-positional-data-test-selectors](docs/rules/template-no-positional-data-test-selectors.md)| disallow positional data-test-* params in curly invocations ||||
259
+
|[template-no-positional-data-test-selectors](docs/rules/template-no-positional-data-test-selectors.md)| disallow positional data-test-* params in curly invocations ||🔧||
260
260
|[template-no-potential-path-strings](docs/rules/template-no-potential-path-strings.md)| disallow potential path strings in attribute values ||||
261
-
|[template-no-redundant-fn](docs/rules/template-no-redundant-fn.md)| disallow unnecessary usage of (fn) helper ||||
261
+
|[template-no-redundant-fn](docs/rules/template-no-redundant-fn.md)| disallow unnecessary usage of (fn) helper ||🔧||
262
262
|[template-no-restricted-invocations](docs/rules/template-no-restricted-invocations.md)| disallow certain components, helpers or modifiers from being used ||||
263
263
|[template-no-splattributes-with-class](docs/rules/template-no-splattributes-with-class.md)| disallow splattributes with class attribute ||||
264
-
|[template-no-this-in-template-only-components](docs/rules/template-no-this-in-template-only-components.md)| disallow this in template-only components (gjs/gts)|| 🔧 ||
264
+
|[template-no-this-in-template-only-components](docs/rules/template-no-this-in-template-only-components.md)| disallow this in template-only components || 🔧 ||
265
265
|[template-no-trailing-spaces](docs/rules/template-no-trailing-spaces.md)| disallow trailing whitespace at the end of lines in templates || 🔧 ||
266
266
|[template-no-unavailable-this](docs/rules/template-no-unavailable-this.md)| disallow `this` in templates that are not inside a class or function ||||
Copy file name to clipboardExpand all lines: docs/rules/template-no-redundant-fn.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# ember/template-no-redundant-fn
2
2
3
+
🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
4
+
3
5
<!-- end auto-generated rule header -->
4
6
5
7
The `fn` helper can be used to bind arguments to another function. Using it without any arguments is redundant because then the inner function could just be used directly.
0 commit comments