{"library":"eslint-plugin-react","type":"library","category":null,"description":"eslint-plugin-react provides React-specific linting rules for ESLint, helping developers enforce best practices, identify potential bugs, and maintain consistent code styles in React projects. As of version 7.37.5, it supports a wide range of React features and idioms, including Hooks, JSX, and functional/class components. The project maintains an active development and release cadence, with frequent patch and minor updates to address issues and add new rules. Its key differentiators include comprehensive coverage of React patterns, automatic detection of React versions, and integration with ESLint's ecosystem for a robust static analysis setup. It is the de-facto standard for linting React codebases with ESLint.","language":"javascript","status":"active","version":"7.37.5","tags":["javascript","eslint","eslint-plugin","eslintplugin","react","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-react","imports":["plugins: ['react']","extends: ['plugin:react/recommended']","extends: ['plugin:react/jsx-runtime']","settings: { react: { version: 'detect' } }","import reactPlugin from 'eslint-plugin-react';\nexport default [\n  reactPlugin.configs.flat.recommended,\n  reactPlugin.configs.flat['jsx-runtime'],\n  // ... other configs\n];"]},{"cmd":"yarn add eslint-plugin-react","imports":[]},{"cmd":"pnpm add eslint-plugin-react","imports":[]}],"homepage":null,"github":"https://github.com/jsx-eslint/eslint-plugin-react","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-react","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/eslint-plugin-react/compatibility"}}