(
node: TSESTree.Node,
sourceCode: Readonly<TSESLint.SourceCode>,
)
| 219 | ) |
| 220 | }, |
| 221 | mapKeyNodeToBaseText( |
| 222 | node: TSESTree.Node, |
| 223 | sourceCode: Readonly<TSESLint.SourceCode>, |
| 224 | ) { |
| 225 | return ASTUtils.mapKeyNodeToText(node, sourceCode).replace( |
| 226 | /(?:\?(\.)|!)/g, |
| 227 | '$1', |
| 228 | ) |
| 229 | }, |
| 230 | isValidReactComponentOrHookName( |
| 231 | identifier: TSESTree.Identifier | null | undefined, |
| 232 | ) { |
nothing calls this directly
no outgoing calls
no test coverage detected