Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 549 Bytes

File metadata and controls

21 lines (13 loc) · 549 Bytes

@eslint-react/core / useComponentCollectorLegacy

Function: useComponentCollectorLegacy()

function useComponentCollectorLegacy(context: RuleContext): ReturnType;

Get a ctx and visitor object for the rule to collect class componentss

Parameters

Parameter Type Description
context RuleContext The ESLint rule context

Returns

ReturnType

The ctx and visitor of the collector