Re-exports§
pub use max_component_size::MaxComponentSizeRule;pub use no_cascading_set_state::NoCascadingSetStateRule;pub use no_nested_components::NoNestedComponentsRule;pub use prefer_use_reducer::PreferUseReducerRule;pub use require_img_alt::RequireImgAltRule;
Modules§
Enums§
- Lang
- Supported languages for AST parsing.
Functions§
- count_
calls_ in_ scope - Count calls to a specific function within a node’s subtree, skipping nested component definitions.
- detect_
language - Detect language from file extension.
- is_
component_ node - Check if a tree-sitter node represents a React component declaration.
- parse_
file - Parse a file into a tree-sitter syntax tree.