Installation d'Eslint à l'échelle mondiale
npm install -g eslint
Naughty Narwhal
npm install -g eslint
$ npm install eslint --save-dev
$ ./node_modules/.bin/eslint --init
#install globally
npm i -g eslint
#install in project
npm install eslint --save-dev
npm install eslint --save-dev
# or
yarn add eslint --dev
yarn add eslint -D
# local
npm install --save-dev [email protected] [email protected] [email protected] [email protected]
# global
npm install [email protected] [email protected] [email protected] [email protected]