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