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