From 5e6f7e41e62c16b22dd6956c3482dbe5c9c4e60f Mon Sep 17 00:00:00 2001 From: Jonas Hermsmeier Date: Mon, 2 Apr 2018 14:50:20 +0200 Subject: [PATCH] fix(lint): Fix html-lint error about "lang" attr This avoids a new error from `html-lint` about the "lang" attr on `` tags, which isn't applicable to templates. Change-Type: patch --- scripts/html-lint.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/html-lint.js b/scripts/html-lint.js index 59839078..98956201 100644 --- a/scripts/html-lint.js +++ b/scripts/html-lint.js @@ -45,7 +45,8 @@ angularValidate.validate( reportpath: null, reportCheckstylePath: null, relaxerror: [ - 'Expected a minus sign or a digit' + 'Expected a minus sign or a digit', + 'Consider adding a “lang” attribute to the “html” start tag to declare the language of this document.' ] } ).then((result) => {