Eslint Plugin React X
eslint-plugin-react-x
A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.
Utilities
react
eslint
eslint-react
eslint-plugin
eslint-plugin-react-x
Utilities
javascript
npm
frontend
open source
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB
Installation
npm install eslint-plugin-react-xCode example
import { useEslintPluginReactX } from "eslint-plugin-react-x";
export function Example() {
const value = useEslintPluginReactX();
return <p>{String(value)}</p>;
}Pros & cons
Pros
- Actively maintained by Rel1cx
- 0 weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~60 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 0 open issues on GitHub