From a00b8d52e503df617c1d11a49fe587d9b2b15d74 Mon Sep 17 00:00:00 2001 From: Mark Tyers Date: Sat, 12 Oct 2019 08:26:31 +0100 Subject: [PATCH] Modified the ESLint Config Rules were allowing old-style string concatenation. Rule added to enforce the use of template strings. --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index 6e05843..890480d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -53,6 +53,7 @@ "no-var": 2, "prefer-arrow-callback": 1, "prefer-const": 2, + "prefer-template": "error", "quotes": [1, "single"], "semi": [1, "never"], "space-before-blocks": ["error", { "functions": "always", "keywords": "always", "classes": "always" }],