Skip to content
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

Stricter linting and enforcing #114

Merged
merged 1 commit into from
Jan 30, 2016
Merged

Stricter linting and enforcing #114

merged 1 commit into from
Jan 30, 2016

Conversation

madarche
Copy link
Collaborator

No description provided.

@madarche madarche changed the title Add strict mode for all files and stricter linting Stricter linting and enforcing Jan 30, 2016
@madarche
Copy link
Collaborator Author

@zaach could you merge this PR too please? Thank you!

@madarche
Copy link
Collaborator Author

@vladikoff since you're around, could you check this one too please? Thanks.

@@ -293,6 +293,8 @@ function coerce(k, v, schema, instance) {
v = moment.duration(parseInt(split[0], 10), split[1]).valueOf();
}
break;
default:
// TODO: Should we throw an exception here?
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess we can fix that in the future?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Right, I didn't want to modify the behavior with this commit, I just wanted to set up "protections" for future commits. The fix for the TODO should be done in another later commit.

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

vladikoff added a commit that referenced this pull request Jan 30, 2016
@vladikoff vladikoff merged commit 181ca04 into mozilla:master Jan 30, 2016
@madarche
Copy link
Collaborator Author

Thanks again @vladikoff!

@madarche madarche deleted the feat-strict-mode-stricter-linting branch January 30, 2016 21:04
@vladikoff
Copy link
Contributor

@madarche no, thank you! 👍

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.

2 participants