Skip to main content
Version: 3.0

JSX Rules

JSX Rules for React, Vite and Next.js apps.

jsx-a11y

The below rules are not enabled below by default in the jsx-a11y/recommended plugin and will throw an error if not enforced.

All rule names start with jsx-a11y/ prefix.

Rule Name
anchor-ambiguous-text
control-has-associated-label

eslint

Rule Name⚠️
no-alert

eslint-plugin-react

All rule names start with react/ prefix.

Rule Name⚠️🔧
react-in-jsx-scope
jsx-filename-extension{ extensions: ['.tsx', '.jsx'] }