Skip to content

Commit

Permalink
chore: Widen v6 compatibility range.
Browse files Browse the repository at this point in the history
  • Loading branch information
cartant committed May 9, 2021
1 parent b598b2c commit 238e3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/support/peer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const version = peerVersion;
export const v5 = peerVersion && semver.satisfies(peerVersion, "^5.0.0");
export const v5NotSupportedMessage =
"This rule is v6-only. The rule might work with v5, but it has not been tested and is not supported.";
export const v6 = peerVersion && semver.satisfies(peerVersion, "^6.0.0-rc.0");
export const v6 = peerVersion && semver.satisfies(peerVersion, ">=6.0.0");
export const v6NotNeededMessage = "Rule not needed for v6.";
export const v6OnlyMessage = "This rule is v6-only.";

Expand Down

0 comments on commit 238e3f4

Please sign in to comment.