@absolunet/eslint-config-react
ESLint config for React
Opinionated ESLint shareable config for React
Extends @absolunet/eslint-config-browser and eslint-config-airbnb
Install
$ npm install @absolunet/eslint-config-react
Usage
Add some ESLint config to your .eslintrc.yaml
:
extends: '@absolunet/react'
Used plugins
- @babel/eslint-parser - For flow
- eslint-plugin-import - import/export syntax rules
- eslint-plugin-jsx-a11y - Accessibility rules on JSX elements
- eslint-plugin-ordered-imports - Sorting and grouping imports
- eslint-plugin-react - React
- eslint-plugin-react-hooks - Enforces rules for React Hooks
Related
Documentation
View documentation