Skip to content

Commit 88a62e6

Browse files
committed
void return instead of boolean
1 parent 87d0fd6 commit 88a62e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/no-deprecated-colors.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ module.exports = {
122122
// Skip if the argument is not a Literal (themeGet(props.backgroundColor))
123123
// or a string themeGet(2)
124124
if (argument.type !== 'Literal' || typeof argument.value !== 'string') {
125-
return false
125+
return
126126
}
127127

128128
const [key, ...path] = argument.value.split('.')

0 commit comments

Comments
 (0)