[CK][Linter Rule] Add CKRenderLayout component to Component Kit Conventional Superclass

Reviewed By: kfirapps, ddino

Differential Revision: D13590155

fbshipit-source-id: 1a9f4ba15
master
Fabio Milano 6 years ago committed by Facebook Github Bot
parent 322066d248
commit 28c3ed50de

@ -227,6 +227,7 @@ let component_with_unconventional_superclass_advice context an =
; ckcomponentcontroller_cl
; "CKCompositeComponent"
; "CKRenderComponent"
; "CKRenderLayoutComponent"
; "CKRenderWithChildrenComponent"
; "CKStatefulViewComponent"
; "CKStatefulViewComponentController"

@ -66,3 +66,7 @@ class CKComponentScope {
// Mimic importing CKRenderWithChildrenComponent
@interface CKRenderWithChildrenComponent : CKComponent
@end
// Mimic importing CKRenderLayoutComponent
@interface CKRenderLayoutComponent : CKComponent
@end

@ -26,3 +26,6 @@
@interface RenderWithChildrenFooComponent : CKRenderWithChildrenComponent // good
@end
@interface RenderLayoutFooComponent : CKRenderLayoutComponent // good
@end

@ -23,3 +23,6 @@
@implementation RenderWithChildrenFooComponent
@end
@implementation RenderLayoutFooComponent
@end

Loading…
Cancel
Save