Skip to content

Commit ec923fb

Browse files
committed
chore: lint fix
1 parent d1badce commit ec923fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/rules/require-prop-types.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = {
7575
return
7676
}
7777
const hasType =
78-
prop.type === 'array' ? false : optionHasType(prop.value) ?? true
78+
prop.type === 'array' ? false : (optionHasType(prop.value) ?? true)
7979

8080
if (!hasType) {
8181
const { node, propName } = prop

0 commit comments

Comments
 (0)