File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -143,13 +143,15 @@ module.exports = {
143143 ( options . objectsInArraysException && second . value === '{' ) ||
144144 ( options . arraysInArraysException && second . value === '[' ) ||
145145 ( options . singleElementException && node . elements . length === 1 )
146- ? ! options . spaced : options . spaced
146+ ? ! options . spaced
147+ : options . spaced
147148
148149 var closingBracketMustBeSpaced =
149150 ( options . objectsInArraysException && penultimate . value === '}' ) ||
150151 ( options . arraysInArraysException && penultimate . value === ']' ) ||
151152 ( options . singleElementException && node . elements . length === 1 )
152- ? ! options . spaced : options . spaced
153+ ? ! options . spaced
154+ : options . spaced
153155
154156 // we only care about evenly spaced things
155157 if ( options . either ) {
Original file line number Diff line number Diff line change @@ -136,7 +136,8 @@ module.exports = {
136136 var closingCurlyBraceMustBeSpaced =
137137 ( options . arraysInObjectsException && penultimate . value === ']' ) ||
138138 ( options . objectsInObjectsException && penultimate . value === '}' )
139- ? ! options . spaced : options . spaced
139+ ? ! options . spaced
140+ : options . spaced
140141
141142 // we only care about evenly spaced things
142143 if ( options . either ) {
You can’t perform that action at this time.
0 commit comments