WebUI: migrate away from outdated config in ESLint

The following message appears when using the outdated value:
>[@stylistic/eslint-plugin]: You are using deprecated value(boolean) for "allowTemplateLiterals"
>in "quotes", please use "always"/"never" instead.

Also prefer using double quotes over backticks for strings.

PR #23038.
This commit is contained in:
Chocobo1
2025-07-28 04:33:50 +08:00
committed by GitHub
parent eb84e99866
commit 2c6c61cc79
5 changed files with 13 additions and 13 deletions

View File

@@ -57,7 +57,7 @@ export default [
"double",
{
avoidEscape: true,
allowTemplateLiterals: true
allowTemplateLiterals: "avoidEscape"
}
],
"Stylistic/quote-props": ["error", "consistent-as-needed"],