Skip to content

Added CNH Validation (Brazilian License Driver) #2221

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

Closed
wants to merge 3 commits into from

Conversation

joaoissamu
Copy link
Contributor

Description

Thank you!

A validation of CNH (Brazilian License Driver)
Added portuguese message for CNH validation
@Arkni
Copy link
Member

Arkni commented Oct 2, 2018

Thanks for your contribution! I'll triage and take a look at it as soon as possible!

Copy link
Member

@Arkni Arkni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @joaoissamu,

Thanks for your contribution. Overall, the PR looks good to me. The only things needed are to fix the code style issues (see full report here https://travis-ci.org/jquery-validation/jquery-validation/builds/435727273?utm_source=github_status&utm_medium=notification) and to add a test for your new method. The test should be under test/additional/cnhBr.js and should be also added to index.html after these two lines:

<script src="additional/creditcard.js"></script>
<script src="additional/netmask.js"></script>

Thanks!

@Arkni
Copy link
Member

Arkni commented Nov 5, 2018

Closed in favor of #2234

@Arkni Arkni closed this Nov 5, 2018
@joaoissamu joaoissamu deleted the patch-1 branch November 6, 2018 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants