Skip to content

Rule catalog ​

Start with the setup in the repository README. Use this page when you need to choose an additional rule or inspect whether a rule can apply an automatic fix.

The plugin exports 20 active rules. recommended includes 19; all enables the complete set.

This table is exhaustive. For an upstream rule ID that is absent here, see why this package does not support it.

A --fix entry means ESLint can apply that rule’s fix with eslint --fix. A suggestion entry means the rule can offer an editor suggestion; it is not changed by the normal automatic-fix pass.

Rules ​

RuleWhat it reportsrecommendedCategoryFix supportType info
react/context-provider-requires-valueRequire an explicit value on a statically identified Context providererrorcorrectness—no
react/controlled-form-requires-handlerRequire the React 19 handler contract for controlled DOM form controlserrorcorrectness—no
react/jsx-no-constructed-context-valuesDisallow Context provider values that change identity on every renderwarnperformance—no
react/jsx-no-key-after-spreadDisallow an explicit key prop after a JSX spreaderrorcorrectness—no
react/no-add-transition-type-outside-transitionRequire addTransitionType calls to run inside a React startTransition callbackoffcorrectness—no
react/no-deprecatedDisallow removed React APIs and deprecated useFormStateerrorcorrectness—no
react/no-direct-mutation-stateDisallow direct mutation of this.stateerrorcorrectness—no
react/no-function-default-propsDisallow function component defaultProps ignored by React 19errorcorrectness—no
react/no-implicit-ref-callback-returnDisallow ref callbacks that implicitly return an assignment or updateerrorcorrectness--fixno
react/no-invalid-browser-callDisallow discarded or thrown react-dom browser resultserrorcorrectness—no
react/no-invalid-form-actionDisallow incompatible props and submitter types for form Actionserrorcorrectness—no
react/no-invalid-fragment-ref-scroll-into-viewDisallow invalid options passed to FragmentInstance.scrollIntoViewerrorcorrectness—no
react/no-invalid-html-attributeDisallow static HTML attributes and values forbidden for a React DOM elementerrorcorrectness—no
react/no-invalid-title-childrenDisallow multiple children or intrinsic markup in an HTML titleerrorcorrectness—no
react/no-invalid-use-argumentDisallow statically unsupported arguments to React useerrorcorrectness—no
react/no-misspelled-lifecycle-methodsDisallow misspelled or incorrectly static React lifecycle methodserrorcorrectness—no
react/no-prop-typesDisallow component propTypes ignored by React 19errorcorrectness—no
react/no-uncached-use-promiseDisallow fresh fetch or Promise results passed to use during client renderingerrorcorrectness—no
react/prefer-use-state-lazy-initializationPrefer lazy initialization for React useState values that call a functionwarnperformance—no
react/view-transition-event-requires-cleanupRequire cleanup for animations started by ViewTransition event callbackswarncorrectness—no

MIT licensed. Original package license notices remain with each package.