jsx-key-before-spread | 1️⃣ | | Enforces that the key attribute is placed before the spread attribute in JSX elements | |
jsx-no-duplicate-props | 1️⃣ | | Disallow duplicate props in JSX elements | |
jsx-no-iife | 0️⃣ | 🧪 | Disallows IIFE in JSX elements | |
jsx-no-undef | 0️⃣ | | Disallow undefined variables in JSX elements | |
jsx-uses-react | 1️⃣ | | Marks React variables as used when JSX is used | |
jsx-uses-vars | 1️⃣ | | Marks variables used in JSX elements as used | |
no-access-state-in-setstate | 2️⃣ | | Disallow accessing this.state inside setState calls | |
no-array-index-key | 1️⃣ | | Disallow an item's index in the array as its key | |
no-children-count | 1️⃣ | | Disallow Children.count | |
no-children-for-each | 1️⃣ | | Disallow Children.forEach | |
no-children-map | 1️⃣ | | Disallow Children.map | |
no-children-only | 1️⃣ | | Disallow Children.only | |
no-children-prop | 0️⃣ | | Disallow passing children as a prop | |
no-children-to-array | 1️⃣ | | Disallow Children.toArray | |
no-class-component | 0️⃣ | | Disallow class components except for error boundaries | |
no-clone-element | 1️⃣ | | Disallow cloneElement | |
no-comment-textnodes | 1️⃣ | | Prevents comments from being inserted as text nodes | |
no-complex-conditional-rendering | 0️⃣ | 🧪 | Disallow complex conditional rendering in JSX expressions | |
no-component-will-mount | 2️⃣ | 🔄 | Replaces usages of componentWillMount with UNSAFE_componentWillMount | >=16.3.0 |
no-component-will-receive-props | 2️⃣ | 🔄 | Replaces usages of componentWillReceiveProps with UNSAFE_componentWillReceiveProps | >=16.3.0 |
no-component-will-update | 2️⃣ | 🔄 | Replaces usages of componentWillUpdate with UNSAFE_componentWillUpdate | >=16.3.0 |
no-context-provider | 1️⃣ | 🔄 | Replaces usages of <Context.Provider> with <Context> | >=19.0.0 |
no-create-ref | 2️⃣ | | Disallow createRef in function components | |
no-default-props | 2️⃣ | | Disallow defaultProps property in favor of ES6 default parameters | |
no-direct-mutation-state | 2️⃣ | | Disallow direct mutation of this.state | |
no-duplicate-key | 2️⃣ | | Disallow duplicate key on elements in the same array or a list of children | |
no-forward-ref | 1️⃣ | 🔄 | Replaces usages of forwardRef with passing ref as a prop | >=19.0.0 |
no-implicit-key | 1️⃣ | 🧪 | Prevents key from not being explicitly specified (e.g. spreading key from objects) | |
no-leaked-conditional-rendering | 1️⃣ | 💭 | Prevents problematic leaked values from being rendered | |
no-missing-component-display-name | 0️⃣ | | Enforces that all components have a displayName which can be used in devtools | |
no-missing-context-display-name | 0️⃣ | 🔧 | Enforces that all contexts have a displayName which can be used in devtools | |
no-missing-key | 2️⃣ | | Disallow missing key on items in list rendering | |
no-misused-capture-owner-stack | 0️⃣ | 🧪 | Prevents incorrect usage of captureOwnerStack | |
no-nested-component-definitions | 2️⃣ | | Disallow nesting component definitions inside other components | |
no-nested-lazy-component-declarations | 2️⃣ | | Disallow nesting lazy component declarations inside other components | |
no-prop-types | 2️⃣ | | Disallow propTypes in favor of TypeScript or another type-checking solution | |
no-redundant-should-component-update | 2️⃣ | | Disallow shouldComponentUpdate when extending React.PureComponent | |
no-set-state-in-component-did-mount | 1️⃣ | | Disallow calling this.setState in componentDidMount outside of functions, such as callbacks | |
no-set-state-in-component-did-update | 1️⃣ | | Disallow calling this.setState in componentDidUpdate outside of functions, such as callbacks | |
no-set-state-in-component-will-update | 1️⃣ | | Disallow calling this.setState in componentWillUpdate outside of functions, such as callbacks | |
no-string-refs | 2️⃣ | 🔄 | Replaces string refs with callback refs | >=16.3.0 |
no-unsafe-component-will-mount | 1️⃣ | | Warns the usage of UNSAFE_componentWillMount in class components | |
no-unsafe-component-will-receive-props | 1️⃣ | | Warns the usage of UNSAFE_componentWillReceiveProps in class components | |
no-unsafe-component-will-update | 1️⃣ | | Warns the usage of UNSAFE_componentWillUpdate in class components | |
no-unstable-context-value | 1️⃣ | | Prevents non-stable values (i.e. object literals) from being used as a value for Context.Provider | |
no-unstable-default-props | 1️⃣ | | Prevents using referential-type values as default props in object destructuring | |
no-unused-class-component-members | 1️⃣ | | Warns unused class component methods and properties | |
no-unused-state | 1️⃣ | | Warns unused class component state | |
no-use-context | 1️⃣ | 🔄 | Replaces usages of useContext with use | >=19.0.0 |
no-useless-forward-ref | 1️⃣ | | Disallow useless forwardRef calls on components that don't use ref s | |
no-useless-fragment | 0️⃣ | 🔧 ⚙️ | Disallow useless fragment elements | |
prefer-destructuring-assignment | 0️⃣ | | Enforces destructuring assignment for component props and context | |
prefer-react-namespace-import | 0️⃣ | 🔧 | Enforces React is imported via a namespace import | |
prefer-read-only-props | 0️⃣ | 💭 | Enforces read-only props in components | |
prefer-shorthand-boolean | 0️⃣ | 🔧 | Enforces shorthand syntax for boolean attributes | |
prefer-shorthand-fragment | 0️⃣ | 🔧 | Enforces shorthand syntax for fragments | |
avoid-shorthand-boolean | 0️⃣ | 🔧 | Enforces explicit boolean values for boolean attributes | |
avoid-shorthand-fragment | 0️⃣ | | Enforces explicit <Fragment> components instead of the shorthand <> or </> syntax | |