There a few options, but we chose to go with eslint. It has a large number of plugins and support for React.
Setup was dead simple. Create a
.eslintrc file in the project root. Then add
gulp-eslint to the gulp build chain.
We decided to follow the airbnb style. We did make some small alterations.
Now what happened next was not as simple:
Clean up was pretty easy. Most of those errors and warnings were the use of