Skip to content

Commit 39c44ce

Browse files
committed
Fix lint errors
1 parent 13e2e6c commit 39c44ce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/util/propTypes.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,9 +547,11 @@ module.exports = function propTypesInstructions(context, components, utils) {
547547
break;
548548
case 'GenericTypeAnnotation':
549549
if (propTypes.id.name === '$ReadOnly') {
550-
ignorePropsValidation = declarePropTypesForObjectTypeAnnotation(propTypes.typeParameters.params[0], declaredPropTypes);
550+
ignorePropsValidation = declarePropTypesForObjectTypeAnnotation(
551+
propTypes.typeParameters.params[0],
552+
declaredPropTypes);
551553
} else {
552-
ignorePropsValidation = true;
554+
ignorePropsValidation = true;
553555
}
554556
break;
555557
case null:

0 commit comments

Comments
 (0)