Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bump gulp-eslint to work with used babel-eslint #214

Merged
merged 1 commit into from
Oct 30, 2019
Merged

Bump gulp-eslint to work with used babel-eslint #214

merged 1 commit into from
Oct 30, 2019

Conversation

irnc
Copy link
Contributor

@irnc irnc commented Sep 2, 2019

gulp lint fails with Parsing error: Cannot find module 'eslint-scope' from '/usr/src/extension/node_modules/eslint/lib/api.js'

This is because babel-eslint@^10.0.1 (introduced at pull request #209) requires newer eslint than the one installed by gulp-eslint, which is clearly stated during npm install stage:

npm WARN babel-eslint@10.0.3 requires a peer of eslint@>= 4.12.1 but none is installed. You must install peer dependencies yourself.

This pull request updates gulp-eslint to the latest v6.0.0, which has eslint@^6.0.0 as dependency, thus satisfying babel-eslint peer dependency requirement.

`gulp lint` fails with `Parsing error: Cannot find module 'eslint-scope' from '/usr/src/extension/node_modules/eslint/lib/api.js'`

This is because `babel-eslint@^10.0.1` (introduced at pull request #209) requires newer `eslint` than the one installed by `gulp-eslint`, which is clearly stated during `npm install` stage:

`npm WARN babel-eslint@10.0.3 requires a peer of eslint@>= 4.12.1 but none is installed. You must install peer dependencies yourself.`

This pull request updates `gulp-eslint` to the latest v6.0.0, which has `eslint@^6.0.0` as dependency, thus satisfying `babel-eslint` peer dependency requirement.
@UlisesGascon UlisesGascon self-requested a review October 30, 2019 16:55
@UlisesGascon UlisesGascon self-assigned this Oct 30, 2019
Copy link
Contributor

@UlisesGascon UlisesGascon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks @irnc

@UlisesGascon UlisesGascon merged commit 3304eef into ragingwind:master Oct 30, 2019
@UlisesGascon UlisesGascon mentioned this pull request Nov 1, 2019
3 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants