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