[Eslint] Change a few options
This commit is contained in:
parent
7f851fac73
commit
7394ab63bf
@ -111,10 +111,7 @@ const style = {
|
|||||||
'error',
|
'error',
|
||||||
'always'
|
'always'
|
||||||
],
|
],
|
||||||
'@stylistic/newline-per-chained-call': [
|
'@stylistic/newline-per-chained-call': [ 'error' ],
|
||||||
'error',
|
|
||||||
{ 'ignoreChainWithDepth': 2 }
|
|
||||||
],
|
|
||||||
'@stylistic/no-extra-parens': [
|
'@stylistic/no-extra-parens': [
|
||||||
'error',
|
'error',
|
||||||
'all',
|
'all',
|
||||||
@ -590,7 +587,9 @@ const style = {
|
|||||||
],
|
],
|
||||||
'@stylistic/space-infix-ops': [
|
'@stylistic/space-infix-ops': [
|
||||||
'error',
|
'error',
|
||||||
{ 'int32Hint': false }
|
{
|
||||||
|
'int32Hint': false
|
||||||
|
}
|
||||||
],
|
],
|
||||||
'@stylistic/space-unary-ops': 'error',
|
'@stylistic/space-unary-ops': 'error',
|
||||||
'@stylistic/spaced-comment': [
|
'@stylistic/spaced-comment': [
|
||||||
@ -625,7 +624,9 @@ export default tseslint.config(
|
|||||||
'sourceType': 'module',
|
'sourceType': 'module',
|
||||||
'ecmaVersion': 'latest',
|
'ecmaVersion': 'latest',
|
||||||
'globals': globals.browser,
|
'globals': globals.browser,
|
||||||
'parserOptions': { 'parser': tseslint.parser, },
|
'parserOptions': {
|
||||||
|
'parser': tseslint.parser,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'plugins': {
|
'plugins': {
|
||||||
'vue': vue,
|
'vue': vue,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user