eslint-config-viralize-react
Eslint rules to enforce Viralize standards and best practices during development of react project in Viralize
Install
- Install the correct versions of each package, which are listed by the command:
npm info "eslint-config-viralize-react@latest" peerDependencies
If using npm 5+, use this shortcut
npx install-peerdeps --dev eslint-config-viralize-react
If using npm < 5, Linux/OSX users can run
If using npm < 5, Windows users can either install all the peer dependencies manually, or use the install-peerdeps cli tool.
npm install -g install-peerdepsinstall-peerdeps --dev eslint-config-viralize-react
- Add
"extends": "viralize-react"
to your .eslintrc.