Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 479 Bytes

File metadata and controls

21 lines (13 loc) · 479 Bytes

@eslint-react/core / getJsxConfigFromAnnotation

Function: getJsxConfigFromAnnotation()

function getJsxConfigFromAnnotation(context: RuleContext): JsxConfig;

Get JsxConfig from pragma comments (annotations) in the source code

Parameters

Parameter Type Description
context RuleContext The RuleContext

Returns

JsxConfig

JsxConfig derived from pragma comments