Port 125 ember-template-lint rules for gjs/gts strict mode templates #3748
Annotations
10 errors
|
self-lint:
lib/strict-rules-gjs.js#L8
Strings must use singlequote
|
|
self-lint:
lib/strict-rules-gjs.js#L8
Strings must use singlequote
|
|
self-lint:
lib/strict-rules-gjs.js#L8
Replace `"ember/template-deprecated-inline-view-helper":·"error"` with `'ember/template-deprecated-inline-view-helper':·'error'`
|
|
self-lint:
lib/rules/template-require-iframe-title.js#L31
Replace `⏎··········titleAttr.value?.type·===·'GlimmerTextNode'·&&⏎··········!titleAttr.value.chars.trim()⏎········` with `titleAttr.value?.type·===·'GlimmerTextNode'·&&·!titleAttr.value.chars.trim()`
|
|
self-lint:
lib/rules/template-require-iframe-title.js#L25
Expected { after 'if' condition
|
|
self-lint:
lib/rules/template-require-iframe-title.js#L20
Expected { after 'if' condition
|
|
self-lint:
lib/rules/template-no-heading-inside-button.js#L20
Move function 'hasButtonParent' to the outer scope
|
|
self-lint:
lib/rules/template-no-empty-headings.js#L30
Replace `⏎··········child.type·===·'GlimmerMustacheStatement'·||⏎··········child.type·===·'GlimmerBlockStatement'⏎········` with `child.type·===·'GlimmerMustacheStatement'·||·child.type·===·'GlimmerBlockStatement'`
|
|
self-lint:
lib/rules/template-no-empty-headings.js#L22
Expected { after 'if' condition
|
|
self-lint:
lib/rules/template-no-empty-headings.js#L21
Move function 'hasTextContent' to the outer scope
|