Update isVAT.js by Dev1lDragon · Pull Request #1989 · validatorjs/validator.js
Add basic regex support to all countries listed in VAT identification number - Wikipedia;
More extended validation for PT(Portugal).
Checklist
- PR contains only changes related; no stray files, etc.
- README updated (where applicable)
- Tests written (where applicable)
@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
tux-tn previously requested changes Jun 24, 2022
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 ?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters