Skip to content

Commit b6e4c6a

Browse files
committed
cleanup comments
1 parent c2972b8 commit b6e4c6a

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

lib/rules/require-default-props.js

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -580,29 +580,6 @@ module.exports = {
580580
handlePropTypesAsGeneric(node);
581581
return;
582582
}
583-
// const getGenericPropTypes = function(nodee) {
584-
// let properties;
585-
586-
// let annotation = resolveGenericTypeAnnotation(nodee);
587-
588-
// if (annotation && annotation.id) {
589-
// annotation = variableUtil.findVariableByName(context, annotation.id.name);
590-
// }
591-
592-
// properties = annotation ? (annotation.properties || []) : [];
593-
// };
594-
// console.log(node); //eslint-disable-line
595-
// console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>'); //eslint-disable-line
596-
// const test = hasPropsAsTypeParameterInstantiation(node); //eslint-disable-line
597-
// console.log(test); //eslint-disable-line
598-
// console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>'); //eslint-disable-line
599-
// if (test) {
600-
// handlePropsAsTypeParameterInstantiation(node);
601-
// return;
602-
// }
603-
// const isPropType = propsUtil.isPropTypesDeclaration(node);
604-
// console.log(isPropType); //eslint-disable-line
605-
// handlePropTypeAnnotationClassProperty(node);
606583
},
607584

608585
// Check for type annotations in stateless components

0 commit comments

Comments
 (0)