Commit 179e8b1
committed
fix(template-no-attrs-in-components): change templateMode 'loose' → 'both'
The rule applies in both HBS and GJS/GTS — classic @ember/component
components can be authored in strict mode too, and their templates can
still leak `this.attrs.*`. Regenerated docs to drop the incorrect
"HBS Only" note.1 parent 33446a6 commit 179e8b1
2 files changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments