Port 125 ember-template-lint rules for gjs/gts strict mode templates #3736
Annotations
27 errors
|
build (ubuntu, 22.x)
Process completed with exit code 1.
|
|
tests/recommended.js > recommended rules > gts config has the right list:
tests/recommended.js#L38
Error: Snapshot `recommended rules > gts config has the right list 1` mismatched
- Expected
+ Received
[
+ "template-deprecated-inline-view-helper",
+ "template-deprecated-render-helper",
+ "template-no-abstract-roles",
+ "template-no-accesskey-attribute",
+ "template-no-action",
+ "template-no-aria-hidden-body",
+ "template-no-autofocus-attribute",
"template-no-debugger",
"template-no-duplicate-attributes",
"template-no-let-reference",
"template-no-log",
+ "template-no-partial",
"template-no-positive-tabindex",
"template-no-triple-curlies",
"template-require-button-type",
]
❯ tests/recommended.js:38:20
|
|
tests/recommended.js > recommended rules > gjs config has the right list:
tests/recommended.js#L26
Error: Snapshot `recommended rules > gjs config has the right list 1` mismatched
- Expected
+ Received
[
+ "template-deprecated-inline-view-helper",
+ "template-deprecated-render-helper",
+ "template-no-abstract-roles",
+ "template-no-accesskey-attribute",
+ "template-no-action",
+ "template-no-aria-hidden-body",
+ "template-no-autofocus-attribute",
"template-no-debugger",
"template-no-duplicate-attributes",
"template-no-let-reference",
"template-no-log",
+ "template-no-partial",
"template-no-positive-tabindex",
"template-no-triple-curlies",
"template-require-button-type",
]
❯ tests/recommended.js:26:20
|
|
self-lint:
tests/lib/rules/template-deprecated-inline-view-helper.js#L15
This test case should have an output assertion
|
|
self-lint:
tests/lib/rules/template-deprecated-inline-view-helper.js#L10
Replace `⏎····'<template><MyComponent·/></template>',⏎····'<template>{{view}}</template>',⏎··` with `'<template><MyComponent·/></template>',·'<template>{{view}}</template>'`
|
|
self-lint:
lib/rules/template-no-duplicate-attributes.js#L49
Delete `··············`
|
|
self-lint:
lib/rules/template-no-duplicate-attributes.js#L43
Delete `··············`
|
|
self-lint:
lib/rules/template-no-action.js#L63
The placeholder {{action ...}} is missing (must provide it in the report's `data` object)
|
|
self-lint:
lib/rules/template-no-action.js#L21
Move function 'isActionHelper' to the outer scope
|
|
self-lint:
lib/rules/template-no-action.js#L16
Insert `⏎·······`
|
|
self-lint:
lib/rules/template-no-action.js#L15
Insert `⏎·······`
|
|
self-lint:
lib/rules/template-no-abstract-roles.js#L30
Insert `⏎·······`
|
|
self-lint:
lib/rules/template-deprecated-render-helper.js#L29
The placeholder {{render}} is missing (must provide it in the report's `data` object)
|
|
build (ubuntu, 18.x)
The strategy configuration was canceled because "build.ubuntu_22_x" failed
|
|
build (ubuntu, 18.x)
The operation was canceled.
|
|
tests/recommended.js > recommended rules > gts config has the right list:
tests/recommended.js#L38
Error: Snapshot `recommended rules > gts config has the right list 1` mismatched
- Expected
+ Received
[
+ "template-deprecated-inline-view-helper",
+ "template-deprecated-render-helper",
+ "template-no-abstract-roles",
+ "template-no-accesskey-attribute",
+ "template-no-action",
+ "template-no-aria-hidden-body",
+ "template-no-autofocus-attribute",
"template-no-debugger",
"template-no-duplicate-attributes",
"template-no-let-reference",
"template-no-log",
+ "template-no-partial",
"template-no-positive-tabindex",
"template-no-triple-curlies",
"template-require-button-type",
]
❯ tests/recommended.js:38:20
|
|
tests/recommended.js > recommended rules > gjs config has the right list:
tests/recommended.js#L26
Error: Snapshot `recommended rules > gjs config has the right list 1` mismatched
- Expected
+ Received
[
+ "template-deprecated-inline-view-helper",
+ "template-deprecated-render-helper",
+ "template-no-abstract-roles",
+ "template-no-accesskey-attribute",
+ "template-no-action",
+ "template-no-aria-hidden-body",
+ "template-no-autofocus-attribute",
"template-no-debugger",
"template-no-duplicate-attributes",
"template-no-let-reference",
"template-no-log",
+ "template-no-partial",
"template-no-positive-tabindex",
"template-no-triple-curlies",
"template-require-button-type",
]
❯ tests/recommended.js:26:20
|
|
build (ubuntu, 20.x)
The strategy configuration was canceled because "build.ubuntu_22_x" failed
|
|
build (ubuntu, 20.x)
The operation was canceled.
|
|
tests/recommended.js > recommended rules > gts config has the right list:
tests/recommended.js#L38
Error: Snapshot `recommended rules > gts config has the right list 1` mismatched
- Expected
+ Received
[
+ "template-deprecated-inline-view-helper",
+ "template-deprecated-render-helper",
+ "template-no-abstract-roles",
+ "template-no-accesskey-attribute",
+ "template-no-action",
+ "template-no-aria-hidden-body",
+ "template-no-autofocus-attribute",
"template-no-debugger",
"template-no-duplicate-attributes",
"template-no-let-reference",
"template-no-log",
+ "template-no-partial",
"template-no-positive-tabindex",
"template-no-triple-curlies",
"template-require-button-type",
]
❯ tests/recommended.js:38:20
|
|
tests/recommended.js > recommended rules > gjs config has the right list:
tests/recommended.js#L26
Error: Snapshot `recommended rules > gjs config has the right list 1` mismatched
- Expected
+ Received
[
+ "template-deprecated-inline-view-helper",
+ "template-deprecated-render-helper",
+ "template-no-abstract-roles",
+ "template-no-accesskey-attribute",
+ "template-no-action",
+ "template-no-aria-hidden-body",
+ "template-no-autofocus-attribute",
"template-no-debugger",
"template-no-duplicate-attributes",
"template-no-let-reference",
"template-no-log",
+ "template-no-partial",
"template-no-positive-tabindex",
"template-no-triple-curlies",
"template-require-button-type",
]
❯ tests/recommended.js:26:20
|
|
build (windows, 22.x)
The strategy configuration was canceled because "build.ubuntu_22_x" failed
|
|
build (windows, 22.x)
The operation was canceled.
|
|
build (windows, 20.x)
The strategy configuration was canceled because "build.ubuntu_22_x" failed
|
|
build (windows, 20.x)
The operation was canceled.
|
|
build (windows, 18.x)
The strategy configuration was canceled because "build.ubuntu_22_x" failed
|
|
build (windows, 18.x)
The operation was canceled.
|