Skip to content

Eliminate the mocha-eslint dependency#110

Merged
Pchelolo merged 2 commits into
wikimedia:masterfrom
mdholloway:eslint
Nov 27, 2018
Merged

Eliminate the mocha-eslint dependency#110
Pchelolo merged 2 commits into
wikimedia:masterfrom
mdholloway:eslint

Conversation

@mdholloway
Copy link
Copy Markdown
Contributor

The mocha-eslint package appears abandoned. It pulls in an older version
of eslint (^4.2.0, currently resolving to 4.19.1) than is required by
eslint-config-wikimedia (^5.9.0). This is true even for the current mocha-
eslint version.

This patch bumps the requested eslint version to ^5.9.0 and drops the
mocha-eslint dependency in favor of a direct eslint invocation in the npm
test script. One minor spacing change was needed to comply with the update.

Upstreams the related mobileapps change:
https://gerrit.wikimedia.org/r/#/c/mediawiki/services/mobileapps/+/475832/

Bug: https://phabricator.wikimedia.org/T210460

The mocha-eslint package appears abandoned.  It pulls in an older version
of eslint (^4.2.0, currently resolving to 4.19.1) than is required by
eslint-config-wikimedia (^5.9.0).  This is true even for the current mocha-
eslint version.

This patch bumps the requested eslint version to ^5.9.0 and drops the
mocha-eslint dependency in favor of a direct eslint invocation in the npm
test script. One minor spacing change was needed to comply with the update.

Upstreams the related mobileapps change:
https://gerrit.wikimedia.org/r/#/c/mediawiki/services/mobileapps/+/475832/

Bug: https://phabricator.wikimedia.org/T210460
@Pchelolo
Copy link
Copy Markdown
Contributor

Patch version bump and we're good to go

@mdholloway
Copy link
Copy Markdown
Contributor Author

bumped.

@Pchelolo
Copy link
Copy Markdown
Contributor

LGTM!

@Pchelolo Pchelolo merged commit 674ae86 into wikimedia:master Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants