@eslint-react/core / useHookCollector
function useHookCollector(context: RuleContext): ReturnType;Get a ctx and visitor object for the rule to collect hooks
| Parameter | Type | Description |
|---|---|---|
context |
RuleContext |
The ESLint rule context |
The ctx and visitor of the collector