From 8508c4bf9bb7667e1cf6b862af8aba823e48963a Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Tue, 31 Dec 2024 22:58:51 +0200 Subject: [PATCH] eslint: allow irregular whitespace in template literals --- .eslintrc.cjs | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 4678d720c..508e2a5e0 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -92,6 +92,7 @@ module.exports = { 'no-unused-expressions': ['error', { allowShortCircuit: true, allowTernary: true }], 'no-cond-assign': 'error', 'no-unneeded-ternary': 'error', + 'no-irregular-whitespace': ['error', { skipStrings: true, skipTemplates: true }], // These rules should eventually be enabled. 'no-async-promise-executor': 'off',