Skip to content

Commit

Permalink
chore(lint): ember-template-lint v6
Browse files Browse the repository at this point in the history
downgrade render modifieres to warnings until all are removed
  • Loading branch information
Yelinz committed Jul 15, 2024
1 parent 8b337eb commit e2d6c26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .template-lintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
plugins: ["ember-template-lint-plugin-prettier"],
rules: {
"no-bare-strings": true,
"no-at-ember-render-modifiers": "warn",
},
overrides: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module(
hbs`<CaFieldSelectorList::CaFieldFunctionSelect
@update={{this.update}}
@field={{this.field}}
@tableSlug={{"test"}}
@tableSlug="test"
/>`,
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module("Integration | Component | cf-field/input/files", function (hooks) {
setupIntl(hooks, ["en"]);

test("it computes the proper element id", async function (assert) {
await render(hbs`<CfField::Input::Files @field={{(hash pk="test-id")}} />`);
await render(hbs`<CfField::Input::Files @field={{hash pk="test-id"}} />`);

assert.dom("#test-id").exists();
});
Expand Down

0 comments on commit e2d6c26

Please sign in to comment.