Skip to content

feat: add es-ES license plate validator#2805

Open
SarthakDudhe wants to merge 1 commit into
validatorjs:masterfrom
SarthakDudhe:feat-add-spain-license-plate-validator
Open

feat: add es-ES license plate validator#2805
SarthakDudhe wants to merge 1 commit into
validatorjs:masterfrom
SarthakDudhe:feat-add-spain-license-plate-validator

Conversation

@SarthakDudhe

Copy link
Copy Markdown

short description of the changes for this issue:

isLicensePlate: Added support for Spain (es-ES), validating modern Spanish license plates (4 digits followed by 3 consonants, excluding vowels and Q).
Documentation & Tests: Updated README.md to list es-ES as a supported locale, and added unit tests in test/validators.test.js covering valid (e.g., 1234 BBB, 9876-HJK) and invalid (e.g., 1234 AEI, abcd bbb) formats.

@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (a38f15b) to head (f4d0650).

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #2805   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          114       114           
  Lines         2587      2588    +1     
  Branches       656       656           
=========================================
+ Hits          2587      2588    +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant