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 <gusted@noreply.codeberg.org> Co-authored-by: dawe <dawe@noreply.codeberg.org> Co-committed-by: dawe <dawe@noreply.codeberg.org>
This commit is contained in:
parent
af5df243d4
commit
ccc0b16251
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ export default tseslint.config(
|
|||
|
||||
'@stylistic/quotes': [2, 'single', {
|
||||
avoidEscape: true,
|
||||
allowTemplateLiterals: true,
|
||||
allowTemplateLiterals: 'always',
|
||||
}],
|
||||
|
||||
'@stylistic/rest-spread-spacing': [2, 'never'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue