From c8c67f89732b3b5a41056cd24241cce92f86ef51 Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Wed, 3 Apr 2019 17:08:21 -0700 Subject: [PATCH] eslintrc: update indent warnings --- cateditor/.eslintrc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cateditor/.eslintrc.js b/cateditor/.eslintrc.js index 64b2f23..5772f79 100644 --- a/cateditor/.eslintrc.js +++ b/cateditor/.eslintrc.js @@ -11,7 +11,9 @@ module.exports = { rules: { 'no-console': 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: { parser: 'babel-eslint'