Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

chore: add lint rule for semver.validRange and semver.Range #4407

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

merceyz
Copy link
Member

@merceyz merceyz commented Apr 27, 2022

What's the problem this PR addresses?

We shouldn't have to remember to use semverUtils.validRange instead of semver.validRange / semver.Range.

Ref #2890 (comment)

How did you fix it?

Make ESLint remember it for us.

Checklist

  • I have read the Contributing Guide.
  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@merceyz merceyz requested a review from arcanis as a code owner April 27, 2022 21:05
@arcanis arcanis merged commit 0eb915f into master Apr 28, 2022
@arcanis arcanis deleted the merceyz/chore/lint-semver-valid-range branch April 28, 2022 07:52
merceyz added a commit that referenced this pull request Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants