File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -143,13 +143,15 @@ module.exports = {
143
143
( options . objectsInArraysException && second . value === '{' ) ||
144
144
( options . arraysInArraysException && second . value === '[' ) ||
145
145
( options . singleElementException && node . elements . length === 1 )
146
- ? ! options . spaced : options . spaced
146
+ ? ! options . spaced
147
+ : options . spaced
147
148
148
149
var closingBracketMustBeSpaced =
149
150
( options . objectsInArraysException && penultimate . value === '}' ) ||
150
151
( options . arraysInArraysException && penultimate . value === ']' ) ||
151
152
( options . singleElementException && node . elements . length === 1 )
152
- ? ! options . spaced : options . spaced
153
+ ? ! options . spaced
154
+ : options . spaced
153
155
154
156
// we only care about evenly spaced things
155
157
if ( options . either ) {
Original file line number Diff line number Diff line change @@ -136,7 +136,8 @@ module.exports = {
136
136
var closingCurlyBraceMustBeSpaced =
137
137
( options . arraysInObjectsException && penultimate . value === ']' ) ||
138
138
( options . objectsInObjectsException && penultimate . value === '}' )
139
- ? ! options . spaced : options . spaced
139
+ ? ! options . spaced
140
+ : options . spaced
140
141
141
142
// we only care about evenly spaced things
142
143
if ( options . either ) {
You can’t perform that action at this time.
0 commit comments