Uh oh!
There was an error while loading. Please reload this page.
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.
|
nimanthadilz
commented
Oct 13, 2021
Hi, I would like to know why "Run tests on Node.js 6" is failing and how to fix that. |
tux-tn
commented
Oct 15, 2021
@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.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com>
nimanthadilz
commented
Oct 26, 2021
I committed the changes requested. This contribution was done as part of Hacktoberfest. It's a pleasure to contribute to opensource. |
* 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