From ccc0b16251eb85250ebc665d5353164623305c4e Mon Sep 17 00:00:00 2001 From: dawe Date: Thu, 21 Aug 2025 02:22:45 +0200 Subject: [PATCH] chore: update value of allowTemplateLiterals (#8953) Before ``` $ make lint-frontend npx eslint --color --max-warnings=0 [@stylistic/eslint-plugin]: You are using deprecated value(boolean) for "allowTemplateLiterals" in "quotes", please use "always"/"never" instead. ``` After ``` $ make lint-frontend npx eslint --color --max-warnings=0 ``` Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8953 Reviewed-by: Gusted Co-authored-by: dawe Co-committed-by: dawe --- eslint.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 28cfa80089..ac4d0aa261 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -153,7 +153,7 @@ export default tseslint.config( '@stylistic/quotes': [2, 'single', { avoidEscape: true, - allowTemplateLiterals: true, + allowTemplateLiterals: 'always', }], '@stylistic/rest-spread-spacing': [2, 'never'],