From c56aa9100fb7ae8ddec88e599426e36f784564fa Mon Sep 17 00:00:00 2001 From: Germain Souquet Date: Mon, 26 Apr 2021 14:38:00 +0100 Subject: [PATCH] appease max line length linting rule --- scripts/gen-i18n.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/gen-i18n.js b/scripts/gen-i18n.js index 2c718a7..0863071 100644 --- a/scripts/gen-i18n.js +++ b/scripts/gen-i18n.js @@ -166,6 +166,7 @@ function getTranslationsJs(file) { if (prop.key.type === 'Literal') { const tag = prop.key.value; // RegExp same as in src/languageHandler.js + // eslint-disable-next-line const regexp = new RegExp(`(<${tag}>(.*?)<\\/${tag}>|<${tag}>|<${tag}\\s*\\/>)`); if (!tKey.match(regexp)) { throw new Error(`No match for ${regexp} in ${tKey}`);