Commit f6dcffa
committed
Fix template-no-block-params-for-html-elements: align HTML-element detection with upstream
Replace static htmlTags package check with inverse-of-component-detection
(reject tags with : / . / uppercase / @ / -). Custom elements like
<my-element as |x|> are no longer false-flagged.1 parent 56f913d commit f6dcffa
File tree
2 files changed
+37
-4
lines changed- lib/rules
- tests/lib/rules
2 files changed
+37
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
3 | 32 | | |
4 | 33 | | |
5 | 34 | | |
| |||
20 | 49 | | |
21 | 50 | | |
22 | 51 | | |
23 | | - | |
24 | 52 | | |
25 | 53 | | |
26 | 54 | | |
27 | | - | |
28 | | - | |
| 55 | + | |
| 56 | + | |
29 | 57 | | |
30 | 58 | | |
31 | 59 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
0 commit comments