Port 125 ember-template-lint rules for gjs/gts strict mode templates #3746
Annotations
8 errors
|
self-lint
Process completed with exit code 1.
|
|
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
|