eslintrc: update indent warnings

This commit is contained in:
Seth Ladygo
2019-04-03 17:08:21 -07:00
parent b5544ba464
commit c8c67f8973

View File

@ -11,7 +11,9 @@ module.exports = {
rules: { rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
"indent": ["warn", 2] "indent": ["warn", 2, { CallExpression: { arguments: "first" },
ObjectExpression: "first",
ArrayExpression: "first" }]
}, },
parserOptions: { parserOptions: {
parser: 'babel-eslint' parser: 'babel-eslint'