[Eslint] Change a few options

This commit is contained in:
Janis Hutz 2025-06-10 17:23:43 +02:00
parent 7f851fac73
commit 7394ab63bf

View File

@ -111,10 +111,7 @@ const style = {
'error',
'always'
],
'@stylistic/newline-per-chained-call': [
'error',
{ 'ignoreChainWithDepth': 2 }
],
'@stylistic/newline-per-chained-call': [ 'error' ],
'@stylistic/no-extra-parens': [
'error',
'all',
@ -590,7 +587,9 @@ const style = {
],
'@stylistic/space-infix-ops': [
'error',
{ 'int32Hint': false }
{
'int32Hint': false
}
],
'@stylistic/space-unary-ops': 'error',
'@stylistic/spaced-comment': [
@ -625,7 +624,9 @@ export default tseslint.config(
'sourceType': 'module',
'ecmaVersion': 'latest',
'globals': globals.browser,
'parserOptions': { 'parser': tseslint.parser, },
'parserOptions': {
'parser': tseslint.parser,
},
},
'plugins': {
'vue': vue,