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

Added isIdentityCard for identity card codes validation #846

Merged
merged 1 commit into from
Sep 24, 2018
Merged

Added isIdentityCard for identity card codes validation #846

merged 1 commit into from
Sep 24, 2018

Conversation

hitbits
Copy link
Contributor

@hitbits hitbits commented Jun 13, 2018

This function validates data structure and control digit of identity
card codes of any country.

Only spanish identity card (DNI) validation is implemented at this
moment.

Fixes #740

@profnandaa
Copy link
Member

@hitbits - please rebase to fix the m/c.

This function validates data structure and control digit of identity
card codes of any country.

Only spanish identity card (DNI) validation is implemented at this
moment.

Fixes #740
@hitbits
Copy link
Contributor Author

hitbits commented Sep 5, 2018

@profnandaa - Done!

@profnandaa
Copy link
Member

@hitbits - sorry for my delay on this one,I will review it in the next few days. QQ, could you list for me the countries (or link where this info is), that this validator supports?

Or is it just Spanish locale alone? 🤔

@hitbits
Copy link
Contributor Author

hitbits commented Sep 24, 2018

@profnandaa - As I say in my commit only Spanish locale is implemented in my PR. Other locales must be added in the future

Copy link
Member

@profnandaa profnandaa left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the PR @hitbits 🎉

@chriso chriso merged commit 0649c05 into validatorjs:master Sep 24, 2018
@chriso chriso mentioned this pull request Jan 10, 2019
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.

3 participants