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
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -258,7 +258,7 @@ rules in templates can be disabled with eslint directives with mustache or html
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
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
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) || 🔧 ||
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