Basic ESLint setup - mhulse/mhulse.github.io GitHub Wiki
Install local to your project
$npmi-Deslint// This will help you to generate an eslint file:$./node_modules/.bin/eslint--init
Install global on your system
$npmi-geslint$eslint--init
Example output
$ ./node_modules/.bin/eslint --init
? How would you like to use ESLint? To check syntax and find problems
? What type of modules does your project use? CommonJS (require/exports)
? Which framework does your project use? None of these
? Where does your code run? (Press <space> to select, <a> to toggle all, <i> to invert selection)Browser
? What format do you want your config file to be in? JavaScript
Successfully created .eslintrc.js file in /Users/mhulse/dev/github/mhulse/parallel-image-downloader