Update the eslint indentation rule to be better when using a buncha mixins
This commit is contained in:
parent
4a8ce9b099
commit
e7ac049ae3
1 changed files with 10 additions and 1 deletions
|
|
@ -74,7 +74,16 @@ export default [
|
||||||
"@stylistic/space-infix-ops": `warn`,
|
"@stylistic/space-infix-ops": `warn`,
|
||||||
"@stylistic/eol-last": `warn`,
|
"@stylistic/eol-last": `warn`,
|
||||||
"@stylistic/operator-linebreak": [`warn`, `before`],
|
"@stylistic/operator-linebreak": [`warn`, `before`],
|
||||||
"@stylistic/indent": [`warn`, `tab`],
|
"@stylistic/indent": [
|
||||||
|
`warn`,
|
||||||
|
`tab`,
|
||||||
|
{
|
||||||
|
SwitchCase: 1,
|
||||||
|
ignoredNodes: [
|
||||||
|
`> .superClass`,
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
"@stylistic/brace-style": [`warn`, `stroustrup`, { "allowSingleLine": true }],
|
"@stylistic/brace-style": [`warn`, `stroustrup`, { "allowSingleLine": true }],
|
||||||
"@stylistic/quotes": [`warn`, `backtick`, { "avoidEscape": true }],
|
"@stylistic/quotes": [`warn`, `backtick`, { "avoidEscape": true }],
|
||||||
"@stylistic/comma-dangle": [`warn`, { arrays: `always-multiline`, objects: `always-multiline`, imports: `always-multiline`, exports: `always-multiline`, functions: `always-multiline` }],
|
"@stylistic/comma-dangle": [`warn`, { arrays: `always-multiline`, objects: `always-multiline`, imports: `always-multiline`, exports: `always-multiline`, functions: `always-multiline` }],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue