-
-
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
Added BR Postal Code #1014
Added BR Postal Code #1014
Conversation
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.
You can just stick to the portal code changes (regex + tests), you can leave out the linting/formatting changes you made.
@@ -57,7 +58,7 @@ const patterns = { | |||
|
|||
export const locales = Object.keys(patterns); | |||
|
|||
export default function (str, locale) { | |||
export default function(str, locale) { |
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.
Travis failing because of this, you need to unstage this particular change; we're using standardJS formatting guidelines.
@@ -4,7 +4,9 @@ import fs from 'fs'; | |||
import vm from 'vm'; | |||
import validator from '../index'; | |||
|
|||
let validator_js = fs.readFileSync(require.resolve('../validator.js')).toString(); | |||
let validator_js = fs |
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.
Same here, just unstage these changes
- fix issues relating to BR postal code - add more tests - closes validatorjs#1014
- fix issues relating to BR postal code - add more tests - closes validatorjs#1014
- fix issues relating to BR postal code - add more tests - closes validatorjs#1014
- fix issues relating to BR postal code - add more tests - closes validatorjs#1014
- fix issues relating to BR postal code - add more tests - closes validatorjs#1014
- fix issues relating to BR postal code - add more tests - closes validatorjs#1014
Closed in #1049 |
Added BR Postal Code to isPostalCode function.