From f044e939a9fbc2f52037fa0535a55bef9671d2c3 Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Wed, 10 Apr 2019 15:22:52 -0700 Subject: [PATCH] eslint changes --- cateditor/.eslintrc.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cateditor/.eslintrc.js b/cateditor/.eslintrc.js index 5772f79..82ae4a8 100644 --- a/cateditor/.eslintrc.js +++ b/cateditor/.eslintrc.js @@ -11,9 +11,11 @@ module.exports = { rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', - "indent": ["warn", 2, { CallExpression: { arguments: "first" }, + 'indent': ["warn", 2, { CallExpression: { arguments: "first" }, ObjectExpression: "first", - ArrayExpression: "first" }] + ArrayExpression: "first" }], + 'comma-dangle': ['warn', 'only-multiline'], + 'spaced-comment': 'off', }, parserOptions: { parser: 'babel-eslint'