0

I'm installing ESLint on a project with the following command:

npm install --save-dev eslint@latest

which gets me the 4.1.1 version of the package.

After i init it with the command:

./node_modules/.bin/eslint --init

I follow the instructions to use Airbnb codestyle and i get downgraded to version 3.19.0.

How can i get it to use version 4.0.0 atleast?

bashir
  • 3
  • 2

1 Answers1

0

Working as intended.

Quoting @kaicataldo on github:

"A number of breaking changes were introduced on the plugin authoring side of things in ESLint v4. Installing ESLint v4 with a plugin that has not been updated yet could result in a broken installation, so the behavior you're seeing is intentional to ensure that everything works together."

bashir
  • 3
  • 2