From 22c5b114ff72d67a554eadf1cec61f5e094ebb94 Mon Sep 17 00:00:00 2001 From: Flo Edelmann Date: Tue, 19 Dec 2023 13:57:25 +0100 Subject: [PATCH] Enable new rule --- .eslintrc.cjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 49a0a02d..40f92d92 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -92,7 +92,8 @@ module.exports = { '@typescript-eslint/no-explicit-any': 'off', // needed for Vue types compatibility '@typescript-eslint/no-extraneous-class': 'off', '@typescript-eslint/no-shadow': ['warn', { ignoreOnInitialization: true }], - '@typescript-eslint/no-unsafe-unary-minus': ['error'], + '@typescript-eslint/no-unsafe-unary-minus': 'error', + '@typescript-eslint/no-useless-template-literals': 'error', '@typescript-eslint/prefer-enum-initializers': 'error', '@typescript-eslint/prefer-readonly': 'error', '@typescript-eslint/promise-function-async': 'error',