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

Reviewed By: kfirapps, ddino

Differential Revision: D13590184

fbshipit-source-id: d4394839e
master
Fabio Milano 6 years ago committed by Facebook Github Bot
parent 28c3ed50de
commit 499e6398b1

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

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

@ -29,3 +29,6 @@
@interface RenderLayoutFooComponent : CKRenderLayoutComponent // good
@end
@interface RenderLayoutWithChildrenFooComponent : CKRenderLayoutWithChildrenComponent // good
@end

@ -26,3 +26,6 @@
@implementation RenderLayoutFooComponent
@end
@implementation RenderLayoutWithChildrenFooComponent
@end

Loading…
Cancel
Save