Fooxly ESLint Config for React
🚀 Powered By
❤️ Support us
npm install --save-dev @fooxly/eslint-config-react
yarn add -D @fooxly/eslint-config-react
We recommend using Babel's ESLint parser.
📏 Our Configuration
We mostly utilize the Standard Code Style for React & JSX linting, with the following two rules disabled:
We have disabled this rule because we name our event handlers in a different way than Standard does.
We also enforce the following order for methods and/or variables in a Class component:
- Static methods
- Static variables
- Instance variables
- Lifecycle methods
- everything else
- Rendering methods (eg.
Are you using this in one of your projects? Include one of these badges in your README to let others know that your code is using the Fooxly code style.