Skip to content

Commit 6973c24

Browse files
committed
Format with Prettier
1 parent 23ce920 commit 6973c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)