ESLint config that builds on top of eslint-config-danbriggs5-base.
# Install
npm install --save-dev --save-exact eslint-config-danbriggs5-react
# Install peer deps
npm install --save-dev --save-exact eslint@5.16.0
npm install --save-dev --save-exact eslint-plugin-import@2.16.0
npm install --save-dev --save-exact eslint-plugin-react@7.13.0
npm install --save-dev --save-exact eslint-plugin-react-hooks@1.6.1
Create a .eslintrc.js file
touch .eslintrc.js
open .eslintrc.js
Paste this snippet in your file
module.exports = {
extends: ['danbriggs5-react'],
};
MIT