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

no-branch-in-dependencies false positive for Git URLs with semver #36

Open
Tracked by #28
EvgenyOrekhov opened this issue Dec 3, 2019 · 0 comments
Open
Tracked by #28

Comments

@EvgenyOrekhov
Copy link
Contributor

The no-branch-in-dependencies rule gives a warning for this line:

"package-name": "git+ssh://[email protected]:username/package-name.git#semver:^1.0.0"

Notice that there is #semver:^1.0.0, so it should not give warnings.

Reference: https://docs.npmjs.com/files/package.json#git-urls-as-dependencies.

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

No branches or pull requests

1 participant