feat(isIdentityCard): Add isIdentityCard 'LK' (Sri Lanka) locale#1786
feat(isIdentityCard): Add isIdentityCard 'LK' (Sri Lanka) locale#1786profnandaa merged 4 commits intovalidatorjs:masterfrom
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 |
tux-tn
left a comment
There was a problem hiding this comment.
Thank you for your PR @nimanthadilz ! Mostly LGTM, i added a little comment that need to be adressed.
Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com>
|
I committed the changes requested. This contribution was done as part of Hacktoberfest. It's a pleasure to contribute to opensource. |
profnandaa
left a comment
There was a problem hiding this comment.
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 <tux-tn@users.noreply.github.com> Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com>
* 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 <tux-tn@users.noreply.github.com> Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com>
* 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 <tux-tn@users.noreply.github.com> Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com>
I have added the validation for Sri Lanka's NIC (National Identity Card) in
isIdentityCardvalidator. Both old and new NIC numbers are validated and tests are provided.Checklist