-
-
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
Update isVAT.js #1989
Update isVAT.js #1989
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1989 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 103 103
Lines 2097 2174 +77
Branches 473 475 +2
=========================================
+ Hits 2097 2174 +77
Continue to review full report at Codecov.
|
Can you add new tests for these? |
@WikiRik I added some tests for all element of vat validator list |
@Dev1lDragon can you squash the commits. There seems to be more than 10+ commits |
Update isVAT.js Add basic regex support to all countries listed in [VAT identification number - Wikipedia](https://en.wikipedia.org/wiki/VAT_identification_number); More extended validation for PT(Portugal). Update isVAT.js Update isVAT.js Update isVAT.js Update isVAT.js Update isVAT.js Update isVAT.js Update validators.js Update validators.js Update validators.js Update isVAT.js Update isVAT.js Update isVAT.js Update isVAT.js Update isVAT.js Update isVAT.js
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 @Dev1lDragon, can you please add an entry to the README file to include the added country codes in isVAT
?
Add available country codes in isVAT
Add basic regex support to all countries listed in VAT identification number - Wikipedia;
More extended validation for PT(Portugal).
Checklist