ESLint Shared Configuration by Cyprex
Usage
npm i --save-dev eslint eslint-config-cyprex babel-eslint eslint-plugin-flowtype
- Create the
.eslintrc
file at the root of your project:"extends": "cyprex"// or if using React (dont forget to add eslint-plugin-react)"extends": "cyprex/react" - Add the lint script to your project:
- Run
npm run lint