[Eslint] Change a few options
This commit is contained in:
parent
7f851fac73
commit
7394ab63bf
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user