A term-based rule targets specific React, React DOM, or Web API identifiers (such as hooks, lifecycle methods, global constructors, or JSX attributes).
To optimize performance, these rules use a precheck: a cheap substring scan of the source code text. If the required term is not found, the rule bails out immediately, skipping expensive AST (Abstract Syntax Tree) traversal.
Note: A passing precheck is necessary but not sufficient. It only proves the text exists; the actual semantic validation is still performed by AST visitors using helpers (e.g., core.isForwardRefCall).