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

Feature: new enforce rule - isURL #1046

Merged
merged 4 commits into from
Aug 10, 2023

Conversation

almoghaimo
Copy link
Contributor

@almoghaimo almoghaimo commented Jul 26, 2023

Q A
Bug fix?
New feature?
Breaking change?
Deprecations?
Documentation?
Tests added?
Types added?
Related issues

This PR includes a new feature for the n4s package, the New isURL enforce rule provides functionality to validate URL values.

This rule exposes the validator.js isURL rule and accepts the same options.

The file name is not url.ts like the other rules files convention (ex: email.ts) because jest is not able to find the file, and instead, it searches for the url module on node_modules, I currently wasn't able to fix it.

@vercel
Copy link

vercel bot commented Jul 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2023 9:32pm
vest-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2023 9:32pm

Copy link
Contributor Author

@almoghaimo almoghaimo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ealush this pr is ready for review,
Do you know how I'll be able to assign you as a reviewer?

@ealush ealush self-requested a review August 10, 2023 16:01
Copy link
Owner

@ealush ealush left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome @almoghaimo! Thank you for that, and so sorry for taking this long to respond. This looks amazing. Merging

@ealush ealush merged commit 9b2cbb1 into ealush:latest Aug 10, 2023
2 of 4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants