Skip to content

Commit d177c29

Browse files
Update eslint rules
1 parent 43534a6 commit d177c29

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"unicorn/consistent-function-scoping": 0,
5555
"unicorn/no-array-callback-reference": 0,
5656
"unicorn/no-array-reduce": 0,
57+
"unicorn/prefer-spread": 0,
5758
"unicorn/prefer-string-replace-all": 0,
5859
"unicorn/switch-case-braces": 0,
5960
"unicorn/no-this-assignment": 0,

packages/child/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ function iframeResizerChild() {
178178
const allOverflowedNodes = document.querySelectorAll(`[${OVERFLOW_ATTR}]`)
179179

180180
// Filter out elements that are descendants of elements with IGNORE_ATTR
181-
// eslint-disable-next-line unicorn/prefer-spread
182181
overflowedNodeList = Array.from(allOverflowedNodes).filter(
183182
(node) => !node.closest(`[${IGNORE_ATTR}]`),
184183
)

0 commit comments

Comments
 (0)