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'