eslint-plugin-jsx v0.1.0 provides JSX-specific linting rules for ESLint, designed specifically for the JSX-to-JS transpiler (not standard JSX like React). It includes rules such as jsx/uses-factory, jsx/factory-in-scope, jsx/mark-used-vars, and jsx/no-undef. This plugin is intended for non-standard JSX syntax and is not compatible with typical React JSX. It is based on eslint-plugin-react but targets a different semantics. The project appears to be a niche solution for a specific transpiler, with no recent updates, suggesting it is in maintenance or deprecated state.
npm install eslint-plugin-jsxVerified import paths — ran on the pinned version, not inferred.
Shows installation and configuration of eslint-plugin-jsx in .eslintrc with its rules.
Use eslint-plugin-react instead for React JSX.
Install both ESLint and this plugin in the same scope (both global or both local).
Consider migrating to eslint-plugin-react for active development.
Ensure eslint-plugin-jsx is installed in the same location (global or local) as ESLint.
Add "jsx" to the plugins array in .eslintrc.
Use a parser that supports JSX (e.g., babel-eslint) or disable JSX parsing if not needed. Note that this plugin expects JSX-to-JS transpiler syntax.
No dependency data recorded yet.