diff --git a/configs/basic/index.js b/configs/basic/index.js index 3f02d5a..8da4047 100644 --- a/configs/basic/index.js +++ b/configs/basic/index.js @@ -256,6 +256,10 @@ module.exports = { balanced: true, }, }], + //consistency + 'array-element-newline':["error", "consistent"], + 'object-property-newline': ['error','allowMultiplePropertiesPerLine'], + // best-practice 'array-callback-return': 'error', 'block-scoped-var': 'error',