npm install eslint recomended code example Example: eslint npm install $ npm install eslint --save-dev $ ./node_modules/.bin/eslint --init