ESLint what’s it do again?
Calls out errors in your code, prevents infinite loops, check for duplicative switch statements etc.
How do I install it?
npm install -g eslint
# create a `.eslintrc` configuration file eslint --init
How do I run it on my js files?
# run ESLint against any file with eslint yourfile.js
What if you want to share your code with a team whoe prefers you use semi-colons and uses the Airbnb Style guide?
npm install –save-dev eslint-config-airbnb