diff --git a/.eslintrc.js b/.eslintrc.js index 7900aa4c8..caaec067c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -15,6 +15,8 @@ module.exports = { 'indent': ['error', 'tab', { 'SwitchCase': 1, 'flatTernaryExpressions': true, + 'ArrayExpression': 'first', + 'ObjectExpression': 'first', }], 'eol-last': ['error', 'always'], 'semi': ['error', 'always'],