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

Change the default value for target #128

Open
2 tasks done
nuragic opened this issue Dec 13, 2021 · 0 comments
Open
2 tasks done

Change the default value for target #128

nuragic opened this issue Dec 13, 2021 · 0 comments

Comments

@nuragic
Copy link
Contributor

nuragic commented Dec 13, 2021

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

This proposal aims to make the API simpler to understand; it doesn't change the actual behaviour, in fact it wants to keep it.

The only difference is that instead of using the special value any I’m proposing to just use an empty value ('', undefined…) to achieve same thing.

Motivation

  • we don't need to create a special value to disable the target check, we just leave it empty
  • we simplify the validation of target so it would only accept valid SemVer identifiers

Example

N/A

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