Skip to content

Commit 97742f6

Browse files
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

+1-1
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)