[CK][Linter Rule] Added CKRenderWithChildrenComponent as conventional component kit superclass

Reviewed By: mbouaziz

Differential Revision: D13432225

fbshipit-source-id: 57b933cce
master
Fabio Milano 6 years ago committed by Facebook Github Bot
parent 5a531ac755
commit afed12ad52

@ -226,6 +226,8 @@ let component_with_unconventional_superclass_advice context an =
[ ckcomponent_cl [ ckcomponent_cl
; ckcomponentcontroller_cl ; ckcomponentcontroller_cl
; "CKCompositeComponent" ; "CKCompositeComponent"
; "CKRenderComponent"
; "CKRenderWithChildrenComponent"
; "CKStatefulViewComponent" ; "CKStatefulViewComponent"
; "CKStatefulViewComponentController" ; "CKStatefulViewComponentController"
; "NTNativeTemplateComponent" ] ; "NTNativeTemplateComponent" ]

@ -20,3 +20,9 @@
@interface NativeTemplateComponent : NTNativeTemplateComponent // good @interface NativeTemplateComponent : NTNativeTemplateComponent // good
@end @end
@interface RenderFooComponent : CKRenderComponent // good
@end
@interface RenderWithChildrenFooComponent : CKRenderWithChildrenComponent // good
@end

@ -17,3 +17,9 @@
@implementation NativeTemplateComponent @implementation NativeTemplateComponent
@end @end
@implementation RenderFooComponent
@end
@implementation RenderWithChildrenFooComponent
@end

Loading…
Cancel
Save