Skip to content

🚀 Feature: restrict-dependency-ranges - option to enforce >/>=/</<= #2028

Description

@DetachHead

Feature Request Checklist

Overview

it would be nice if the config for restrict-dependency-ranges supported a rangeType that enforced only the following symbols: >, >=, <, <=

Additional Info

in my project, we don't need to worry about pinning dependencies in package.json because the dependencies will always be installed using the locked versions from package-lock.json. this is because my project is a bundled application, not a published npm package.

this makes it much easier for us to bump our dependencies because we just run npm update to get the latest versions of all our dependencies, and if we encounter any breaking changes that we can't resolve, only then do we add an upper bound to that dependency in our package.json (using < or <=)

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: in discussionNot yet ready for implementation or a pull requesttype: featureNew enhancement or request 🚀

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions