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
+44-1Lines changed: 44 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ module.exports = {
44
44
45
45
## gts/gjs
46
46
47
-
lint files having `First-Class Component Templates`
47
+
lint files having `First-Class Component Templates` (fcct)
48
48
49
49
learn more [here](https://github.com/ember-template-imports/ember-template-imports)
50
50
@@ -60,6 +60,49 @@ module.exports = {
60
60
};
61
61
```
62
62
63
+
### rules applied to fcct templates
64
+
* semi rule, same as prettier https://github.com/gitKrystan/prettier-plugin-ember-template-tag/issues/1
65
+
* no-undef rule will take effect for template vars (includes js scope)
66
+
* no-unsed rule will take effect for template block params
67
+
68
+
rules in tempates can be disabled with eslint directives with mustache or html comments:
69
+
70
+
71
+
[!NOTE]
72
+
html does not have the distinction of line or block comments, which is why block comments should start with `!<--- ... -->` (3 dashes and a space, end with 2 dashes)
0 commit comments