Skip to content

Commit

Permalink
feat: add object and array newline rules (#29)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Streicher <[email protected]>
  • Loading branch information
2 people authored and OrbisK committed Aug 30, 2022
1 parent 6ca07e6 commit f0abfab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configs/basic/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit f0abfab

Please sign in to comment.