-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
feat(isIdentityCard): Add isIdentityCard 'LK' (Sri Lanka) locale #1786
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1786 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 102 102
Lines 2029 2035 +6
Branches 457 459 +2
=========================================
+ Hits 2029 2035 +6
Continue to review full report at Codecov.
|
Hi, I would like to know why "Run tests on Node.js 6" is failing and how to fix that. |
@nimanthadilz the issue was related to a broken dependency, it has been fixed and your pipeline passed on Node.js 6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your PR @nimanthadilz ! Mostly LGTM, i added a little comment that need to be adressed.
Co-authored-by: Sarhan Aissi <[email protected]>
I committed the changes requested. This contribution was done as part of Hacktoberfest. It's a pleasure to contribute to opensource. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ! Thank you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contrib! 🎉
* Implement isIdentityCard LK(Sri Lanka) locale * Add tests for isIdentityCard LK locale * Update README.md for the isIdentityCard LK locale * Change let to const Co-authored-by: Sarhan Aissi <[email protected]> Co-authored-by: Sarhan Aissi <[email protected]>
* Implement isIdentityCard LK(Sri Lanka) locale * Add tests for isIdentityCard LK locale * Update README.md for the isIdentityCard LK locale * Change let to const Co-authored-by: Sarhan Aissi <[email protected]> Co-authored-by: Sarhan Aissi <[email protected]>
* Implement isIdentityCard LK(Sri Lanka) locale * Add tests for isIdentityCard LK locale * Update README.md for the isIdentityCard LK locale * Change let to const Co-authored-by: Sarhan Aissi <[email protected]> Co-authored-by: Sarhan Aissi <[email protected]>
I have added the validation for Sri Lanka's NIC (National Identity Card) in
isIdentityCard
validator. Both old and new NIC numbers are validated and tests are provided.Checklist