eslint: allow irregular whitespace in template literals

This commit is contained in:
Cohee 2024-12-31 22:58:51 +02:00
parent 4698b41d26
commit 8508c4bf9b

View File

@ -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',