From 07dc8d20c43e7b6487f0a8bfef3ff0216512c09a Mon Sep 17 00:00:00 2001 From: Kane York Date: Thu, 26 Mar 2020 11:31:02 -0700 Subject: [PATCH] DEV: Enable and fix the 'require-iframe-title' lint --- .template-lintrc.js | 1 + app/assets/javascripts/admin/templates/email-preview-digest.hbs | 2 +- config/locales/client.en.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.template-lintrc.js b/.template-lintrc.js index 994a145b9bf..344b969597d 100644 --- a/.template-lintrc.js +++ b/.template-lintrc.js @@ -31,6 +31,7 @@ module.exports = { "no-unnecessary-component-helper": true, "no-unused-block-params": true, "no-unbound": true, + "require-iframe-title": true, "self-closing-void-elements": true, "simple-unless": true, "style-concatenation": true, diff --git a/app/assets/javascripts/admin/templates/email-preview-digest.hbs b/app/assets/javascripts/admin/templates/email-preview-digest.hbs index 58733c1eb35..0dfcb04531b 100644 --- a/app/assets/javascripts/admin/templates/email-preview-digest.hbs +++ b/app/assets/javascripts/admin/templates/email-preview-digest.hbs @@ -50,7 +50,7 @@ {{#if htmlEmpty}}

{{i18n 'admin.email.no_result'}}

{{else}} -