1 dépôt
Rules that enforce the presence of required reference parameters in components using reference forwarding.
Distinct from Reference Forwarding: Focuses on linting the correct implementation of the parameter rather than the forwarding mechanism itself.
Explore 1 awesome GitHub repository matching web development · Reference Parameter Validations. Refine with filters or upvote what's useful.
This project is an ESLint plugin and static analysis tool designed to enforce best practices, prevent bugs, and maintain code quality in React projects. It functions as a specialized JSX linter that analyzes the syntax and structure of components to detect anti-patterns and API misuse. The plugin distinguishes itself by providing deep analysis of React-specific patterns, such as detecting state race conditions, preventing nested component definitions, and identifying unstable references that cause unnecessary re-renders. It also includes security hardening rules to identify vulnerabilities li
Ensures components wrapped in forwardRef include the necessary reference parameter to prevent runtime bugs.