Update .eslintrc.js
This commit is contained in:
parent
a259f5d3bd
commit
1aabd70f66
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ module.exports = {
|
||||||
'indent': ['error', 'tab', {
|
'indent': ['error', 'tab', {
|
||||||
'SwitchCase': 1,
|
'SwitchCase': 1,
|
||||||
'flatTernaryExpressions': true,
|
'flatTernaryExpressions': true,
|
||||||
|
'ArrayExpression': 'first',
|
||||||
|
'ObjectExpression': 'first',
|
||||||
}],
|
}],
|
||||||
'eol-last': ['error', 'always'],
|
'eol-last': ['error', 'always'],
|
||||||
'semi': ['error', 'always'],
|
'semi': ['error', 'always'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue