Skip to content

Commit 1c02684

Browse files
committed
resolved pr comments: updated from spread to concat
1 parent 580b303 commit 1c02684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/padding-lines-between-tags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function removeExcessLines(endTag, sibling, lineDifference) {
8888
function checkNewLine(configureList) {
8989
const firstConsistentBlankLines = new Map();
9090

91-
const reverseConfigureList = [...configureList].reverse();
91+
const reverseConfigureList = [].concat(configureList).reverse();
9292

9393
return (node) => {
9494
if (!node.parent.parent) {

0 commit comments

Comments
 (0)