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