Skip to content

Commit

Permalink
Always enforce space in arrays, no exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Mar 15, 2017
1 parent ec0c033 commit 763c78b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rules/style.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
module.exports = {
rules: {
// enforce spacing inside array brackets
'array-bracket-spacing': [ 'error', 'always', {
objectsInArrays: false,
arraysInArrays: false,
}],
'array-bracket-spacing': [ 'error', 'always' ],
// allow/disallow an empty newline after var statement
// https://github.com/eslint/eslint/blob/master/docs/rules/newline-after-var.md
'newline-after-var': [ 'error', 'always' ],
Expand Down

0 comments on commit 763c78b

Please sign in to comment.