validator.js icon indicating copy to clipboard operation
validator.js copied to clipboard

const phones ordered

Open alamparelli opened this issue 1 year ago • 0 comments

Ordered phones object in isMobilePhone.js to improve readability for future contributors

Good morning, I have ordered the key in the phones object to improve the readability for future contributions

  • linked to this https://github.com/validatorjs/validator.js/issues/1761

Checklist

  • [x] PR contains only changes related; no stray files, etc.
  • [ ] README updated (where applicable) : N/A
  • [ ] Tests written (where applicable) : N/A
    • [x] NPM test ran successfully
  • [ ] References provided in PR (where applicable) : N/A

alamparelli avatar Jun 29 '24 04:06 alamparelli