From ff5c0d7323e46263973da98df5a13d2faec8ce5c Mon Sep 17 00:00:00 2001 From: Oliver Blanthorn Date: Fri, 19 Jun 2020 13:55:22 +0100 Subject: [PATCH] Re-enable `quotes` --- .eslintrc.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index f8a0cac1..acf0210e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -131,11 +131,12 @@ module.exports = { "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-regexp-exec": "off", //"error", "@typescript-eslint/quotes": [ - "off", //"error", + "error", "double", { - "avoidEscape": true - } + "avoidEscape": true, + "allowTemplateLiterals": true, + }, ], "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": "off", //"error", // We use this a lot - fixing it is a problem for a rainy day