Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 97742f6

Browse files
committedApr 26, 2024·
fix: Prevent spread operator from disabling the rule
1 parent cfad3ee commit 97742f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/utils/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3121,7 +3121,7 @@ function getWithDefaultsProps(node) {
31213121

31223122
for (const prop of param.properties) {
31233123
if (prop.type !== 'Property') {
3124-
return {}
3124+
continue
31253125
}
31263126
const name = getStaticPropertyName(prop)
31273127
if (name != null) {

0 commit comments

Comments
 (0)
Please sign in to comment.