-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionbugESLint is working incorrectlyESLint is working incorrectlycliRelates to ESLint's command-line interfaceRelates to ESLint's command-line interface
Description
Originally reported on Stack Overflow.
Tell us about your environment
- ESLint Version: 4.1.1
- Node Version: 7.10.0
- npm Version: 4.6.1
What parser (default, Babel-ESLint, etc.) are you using? n/a
Please show your full configuration: n/a
What did you do? Please include the actual source code causing the issue.
~$ mkdir test
~$ cd test
~/test$ echo '{ "private": true }' > package.json
~/test$ npm install --save-dev eslint
# ...
~/test$ node --version
v7.10.0
~/test$ npm --version
4.6.1
~/test$ node_modules/.bin/eslint --version
v4.1.1
~/test$ node_modules/.bin/eslint --init
? How would you like to configure ESLint? Use a popular style guide
? Which style guide do you want to follow? Airbnb
? Do you use React? No
? What format do you want your config file to be in? JavaScript
Checking peerDependencies of eslint-config-airbnb-base
Installing eslint-config-airbnb-base@latest, eslint@^3.19.0, eslint-plugin-import@^2.2.0
# ...
Successfully created .eslintrc.js file in ~/test
~/test$ node_modules/.bin/eslint --version
v3.19.0
What did you expect to happen?
eslint@4.1.1
is still installed.
What actually happened? Please include the actual, raw output from ESLint.
eslint@3.19.0
is installed.
nunofreitasbotelho
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionbugESLint is working incorrectlyESLint is working incorrectlycliRelates to ESLint's command-line interfaceRelates to ESLint's command-line interface