[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" ; "CKCompositeComponent"
; "CKRenderComponent" ; "CKRenderComponent"
; "CKRenderLayoutComponent" ; "CKRenderLayoutComponent"
; "CKRenderLayoutWithChildrenComponent"
; "CKRenderWithChildrenComponent" ; "CKRenderWithChildrenComponent"
; "CKStatefulViewComponent" ; "CKStatefulViewComponent"
; "CKStatefulViewComponentController" ; "CKStatefulViewComponentController"

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

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

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

Loading…
Cancel
Save