eslint shareable config to help you identify and report on patterns found in your code in React applications.
This configuration uses the following plugins:
@linters/eslint-config
eslint-plugin-react
eslint-plugin-react-hooks
$ yarn add eslint @linters/eslint-config-react -D
The shareable config can be configured in the eslint configuration file:
Create a .eslintrc.js file with the following contents:
module.exports = {
extends: ['@linters/eslint-config-react'],
}