npm install --save-dev git+ssh://[email protected]/ustudio/eslint-config-ustudio.gitThis will automatically install eslint and eslint-plugin-react.
Add the following to your package.json:
{
eslintConfig: {
"extends": "ustudio"
},
"scripts": {
"lint": "eslint ."
}Execute the following command:
npm run lintAdd the following to your circle.yml:
test:
pre:
- npm run lint