The space-in-brackets rule that we had in a comment/TODO is now deprecated, so I've removed it from this config altogether. In it's place, I've added the new object-curly-spacing rule, which covers object literals and their spacing. There is not yet a rule for enforcing array syntax like [1, 2], but perhaps that's something we can write and submit to eslint.
I've also added the space-before-blocks rule, which should help address some inconsistent spacing around lots of control structures and functions.
The
space-in-brackets
rule that we had in a comment/TODO is now deprecated, so I've removed it from this config altogether. In it's place, I've added the newobject-curly-spacing
rule, which covers object literals and their spacing. There is not yet a rule for enforcing array syntax like[1, 2]
, but perhaps that's something we can write and submit to eslint.I've also added the
space-before-blocks
rule, which should help address some inconsistent spacing around lots of control structures and functions./cc @ndhoule