Skip to content

Commit ec4084f

Browse files
waynzhota-meshi
andauthored
Update lib/rules/no-empty-component-block.js
Co-authored-by: Yosuke Ota <[email protected]>
1 parent 867a6bf commit ec4084f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/rules/no-empty-component-block.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,7 @@ module.exports = {
114114
blockName: componentBlock.name
115115
},
116116
fix: autofix
117-
? function* (fixer) {
118-
for (const componentBlock of emptyBlocks) {
119-
yield fixer.remove(componentBlock)
120-
}
121-
}
117+
? (fixer) => fixer.remove(componentBlock)
122118
: undefined
123119
})
124120
}

0 commit comments

Comments
 (0)