@dhruv-m-patel/eslint-config-react
Basic code standards for react projects
Usage
-
Install the package
npm i -D @dhruv-m-patel/eslint-config-react # OR yarn add @dhruv-m-patel/eslint-config-react --dev
-
Edit your
.eslintrc
or ESLint config file as follows:{ "extends": ["@dhruv-m-patel/eslint-config-react", "and-other-eslint-configs"] }
Note: Make sure to have eslint
package installed as its a peerDependency for this package.