Personal configs
Credit: Forked from ntnyq
EsLint config for React.js
Usage
Install
$ npm i @stone-lemons/eslint-config-react -D
# OR
$ yarn add @stone-lemons/eslint-config-react -D
Extend this config
in .eslintrc.js
module.exports = {
root: true,
extends: ['@stone-lemons/react'],
rules: {
// Override rules
},
}
in package.json
{
"eslintConfig": {
"root": true,
"extends": "@stone-lemons/react"
}
}