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