From ebba2e95fbcb3143e6efd336e7381f893a12a197 Mon Sep 17 00:00:00 2001 From: Alex LaFroscia Date: Wed, 24 Jun 2020 15:04:53 -0400 Subject: [PATCH] chore: fix template linting complaints --- .template-lintrc.js | 5 ++++- tests/dummy/app/templates/components/dummy-application.hbs | 2 +- tests/dummy/app/templates/components/nested-component.hbs | 2 +- tests/dummy/app/templates/components/top-level-component.hbs | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.template-lintrc.js b/.template-lintrc.js index c440118..31ce8a9 100644 --- a/.template-lintrc.js +++ b/.template-lintrc.js @@ -1,5 +1,8 @@ "use strict"; module.exports = { - extends: "octane", + extends: "recommended", + rules: { + "no-triple-curlies": false, + }, }; diff --git a/tests/dummy/app/templates/components/dummy-application.hbs b/tests/dummy/app/templates/components/dummy-application.hbs index 24a463b..2e0fdbc 100644 --- a/tests/dummy/app/templates/components/dummy-application.hbs +++ b/tests/dummy/app/templates/components/dummy-application.hbs @@ -2,4 +2,4 @@ {{ember-islands}} {{/if}} - + diff --git a/tests/dummy/app/templates/components/nested-component.hbs b/tests/dummy/app/templates/components/nested-component.hbs index 6c15bb9..98d87b9 100644 --- a/tests/dummy/app/templates/components/nested-component.hbs +++ b/tests/dummy/app/templates/components/nested-component.hbs @@ -1,3 +1,3 @@

A nested component

- + diff --git a/tests/dummy/app/templates/components/top-level-component.hbs b/tests/dummy/app/templates/components/top-level-component.hbs index 916fa65..fb3034a 100644 --- a/tests/dummy/app/templates/components/top-level-component.hbs +++ b/tests/dummy/app/templates/components/top-level-component.hbs @@ -2,7 +2,7 @@

top level component

- + {{#if isExpanded}}

Expanded!