Closed lance closed 8 years ago
Pretty simple solution...
npm install -D eslint
npm install -D eslint-plugin-promise eslint-plugin-standard eslint-plugin-react
npm install -D eslint-config-standard
npm install -D eslint-config-semistandard
Then in package.json
Add this to your scripts
"scripts": {
"lint": "eslint .",
// whatever else
}
And run it with npm run lint
. Easy peasy.
Eslint is a more full featured tool than semistandard. We could get semstandard style enforcement using plugins on eslint. Let's figure out the best way to do this.