ESLint plugin (v1.1.2) that enforces camelCased React props, converting dashed props (e.g., margin-left) to camelCase (marginLeft). Designed for JSX in React projects. Provides a single rule 'react-camel-case/prop-types'. Works with ESLint >=3.0. Relies on eslint-plugin-react for AST parsing. Lightweight but limited to runtime detection only—no automatic fix support. Maintained sporadically; last release in 2018.
npm install eslint-plugin-react-camel-caseVerified import paths — ran on the pinned version, not inferred.
Configures ESLint to enforce camelCase props for all React JSX elements using the react-camel-case/prop-types rule.
Consider using 'react/jsx-no-literals' or custom linting if more control is needed.
Use 'eslint-plugin-react' 'no-unknown-property' for additional checks.
Consider using 'eslint-plugin-transform-class-properties' or codemods.
Run 'npm install eslint-plugin-react-camel-case eslint-plugin-react --save-dev' and add 'plugins: ['react-camel-case']' to config.
Install the plugin: 'npm install eslint-plugin-react-camel-case@latest' and ensure ESLint version >=3.0.
Install 'eslint-plugin-react': 'npm install eslint-plugin-react --save-dev'.