@@ -35,7 +35,8 @@ const FUNCTION_PATTERNS = {
3535/**
3636 * Checks if the given node is a function within a render method of a class component.
3737 *
38- * @param node - The AST node to check
38+ * @param node The AST node to check
39+ * @param node
3940 * @returns `true` if the node is a render function inside a class component
4041 *
4142 * @example
@@ -60,8 +61,10 @@ function isFunctionOfRenderMethod(node: AST.TSESTreeFunction) {
6061/**
6162 * Checks if a function node should be excluded based on provided detection hints
6263 *
63- * @param node - The function node to check
64- * @param hint - Component detection hints as bit flags
64+ * @param node The function node to check
65+ * @param hint Component detection hints as bit flags
66+ * @param node
67+ * @param hint
6568 * @returns `true` if the function matches an exclusion hint
6669 */
6770function shouldExcludeBasedOnHint ( node : AST . TSESTreeFunction , hint : bigint ) : boolean {
@@ -87,8 +90,10 @@ function shouldExcludeBasedOnHint(node: AST.TSESTreeFunction, hint: bigint): boo
8790/**
8891 * Determines if the node is an argument within `createElement`'s children list (3rd argument onwards)
8992 *
90- * @param context - The rule context
91- * @param node - The AST node to check
93+ * @param context The rule context
94+ * @param node The AST node to check
95+ * @param context
96+ * @param node
9297 * @returns `true` if the node is passed as a child to `createElement`
9398 */
9499function isChildrenOfCreateElement ( context : RuleContext , node : TSESTree . Node ) : boolean {
@@ -111,9 +116,12 @@ function isChildrenOfCreateElement(context: RuleContext, node: TSESTree.Node): b
111116/**
112117 * Determines if a function node represents a valid React component definition
113118 *
114- * @param context - The rule context
115- * @param node - The function node to analyze
116- * @param hint - Component detection hints (bit flags) to customize detection logic
119+ * @param context The rule context
120+ * @param node The function node to analyze
121+ * @param hint Component detection hints (bit flags) to customize detection logic
122+ * @param context
123+ * @param node
124+ * @param hint
117125 * @returns `true` if the node is considered a component definition
118126 */
119127export function isComponentDefinition (
0 commit comments