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: docs/rules/template-deprecated-inline-view-helper.md
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
<!-- end auto-generated rule header -->
4
4
5
+
> **HBS Only**: This rule applies to classic `.hbs` template files only (loose mode). It is not relevant for `gjs`/`gts` files (strict mode), where these patterns cannot occur.
6
+
5
7
In Ember 1.12, support for invoking the inline View helper was deprecated.
6
8
7
9
## Rule Details
@@ -12,24 +14,20 @@ This rule flags `{{view}}` mustache or block statements that have hash pair argu
Copy file name to clipboardExpand all lines: docs/rules/template-deprecated-render-helper.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,20 +2,22 @@
2
2
3
3
<!-- end auto-generated rule header -->
4
4
5
+
> **HBS Only**: This rule applies to classic `.hbs` template files only (loose mode). It is not relevant for `gjs`/`gts` files (strict mode), where these patterns cannot occur.
6
+
5
7
Disallows the {{render}} helper which is deprecated.
Copy file name to clipboardExpand all lines: docs/rules/template-no-action-modifiers.md
+14-24Lines changed: 14 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
<!-- end auto-generated rule header -->
4
4
5
+
> **HBS Only**: This rule applies to classic `.hbs` template files only (loose mode). It is not relevant for `gjs`/`gts` files (strict mode), where these patterns cannot occur.
6
+
5
7
Disallow usage of `{{action}}` modifiers in templates.
6
8
7
9
The `{{action}}` modifier has been deprecated in favor of the `{{on}}` modifier. The `{{on}}` modifier provides a more explicit and flexible way to handle events.
@@ -14,42 +16,30 @@ This rule disallows using `{{action}}` as an element modifier.
Copy file name to clipboardExpand all lines: docs/rules/template-no-action.md
+15-23Lines changed: 15 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
<!-- end auto-generated rule header -->
4
4
5
+
> **HBS Only**: This rule applies to classic `.hbs` template files only (loose mode). It is not relevant for `gjs`/`gts` files (strict mode), where these patterns cannot occur.
6
+
5
7
Disallows the use of `{{action}}` helper.
6
8
7
9
The `{{action}}` helper is deprecated in favor of the `{{on}}` modifier and `{{fn}}` helper, which provide better performance and clearer intent.
@@ -10,36 +12,26 @@ The `{{action}}` helper is deprecated in favor of the `{{on}}` modifier and `{{f
Copy file name to clipboardExpand all lines: docs/rules/template-no-ambiguous-glimmer-paths.md
+13-21Lines changed: 13 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
3
3
<!-- end auto-generated rule header -->
4
4
5
-
> Disallow ambiguous path in templates
5
+
> **HBS Only**: This rule applies to classic `.hbs` template files only (loose mode). It is not relevant for `gjs`/`gts` files (strict mode), where these patterns cannot occur.
6
+
7
+
Disallow ambiguous path in templates
6
8
7
9
## Rule Details
8
10
@@ -12,36 +14,26 @@ This rule requires explicit `this.` or `@` prefix for property access to avoid a
Copy file name to clipboardExpand all lines: docs/rules/template-no-attrs-in-components.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,20 +2,22 @@
2
2
3
3
<!-- end auto-generated rule header -->
4
4
5
+
> **HBS Only**: This rule applies to classic `.hbs` template files only (loose mode). It is not relevant for `gjs`/`gts` files (strict mode), where these patterns cannot occur.
6
+
5
7
This rule prevents the usage of `this.attrs` property to access values passed to the component. Use `@arg` syntax instead.
Copy file name to clipboardExpand all lines: docs/rules/template-no-class-bindings.md
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,32 +2,34 @@
2
2
3
3
<!-- end auto-generated rule header -->
4
4
5
+
> **HBS Only**: This rule applies to classic `.hbs` template files only (loose mode). It is not relevant for `gjs`/`gts` files (strict mode), where these patterns cannot occur.
6
+
5
7
Disallow passing `classBinding` or `classNameBindings` as arguments within templates. These are legacy Ember Classic patterns that should be replaced with modern approaches.
0 commit comments