Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

fix: require eslint dependencies from eslint base #795

Closed
wants to merge 4 commits into from

Conversation

JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Aug 25, 2019

A revised version of #794

Removed both eslint-scope and eslint-visitor-keys dependencies and bumped minimum ESLint requirement to >=4.14.0. Note that ESLint introduce eslint-visitor-keys dependency since 4.14.0

# Conflicts:
#	lib/analyze-scope.js
#	package.json
#	yarn.lock
package.json Outdated
@@ -30,12 +30,11 @@
],
"peerDependencies": {
"@babel/core": ">=7.2.0",
"eslint": ">= 4.12.1"
"eslint": ">= 4.14.0"
Copy link
Member

Choose a reason for hiding this comment

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

Is this going to be released for v10 as well as v11? If this is going to be for v11, I wonder if it's worth dropping support for ESLint < 6?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, v10 does not include eslint-visitory-keys fixes, see #794 (comment)

If this is going to be for v11, I wonder if it's worth dropping support for ESLint < 6

We could drop ESLint < 6 support as long as we have a clear version policy, especially the timing when we will bump a major version. Do we bump after every major ESLint version? And what about every major babel version?

Copy link
Member

Choose a reason for hiding this comment

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

I'm onboard with next major being ESLint >= 6

Copy link
Member

Choose a reason for hiding this comment

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

I'm also ok with a policy of dropping in next major's when ESLint/Babel does if someone wants to make that PR

Copy link
Member

Choose a reason for hiding this comment

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

For what it's worth, ESLint dropped support for Node < 8 in v6, now that it's out of maintenance mode.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Bumped to >=6.0.0.

package.json Outdated Show resolved Hide resolved
JLHwung added a commit to JLHwung/babel that referenced this pull request Nov 28, 2019
nicolo-ribaudo pushed a commit to nicolo-ribaudo/babel that referenced this pull request Nov 29, 2019
@JLHwung JLHwung closed this in #810 Dec 6, 2019
@JLHwung JLHwung deleted the fix-791 branch December 10, 2019 18:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants