Skip to content

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

@EvgenyOrekhov

Description

@EvgenyOrekhov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions