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

Bug 1214679 - Add pre-commit ghook support for eslint #36

Merged
merged 1 commit into from Oct 28, 2015
Merged

Bug 1214679 - Add pre-commit ghook support for eslint #36

merged 1 commit into from Oct 28, 2015

Conversation

rwood-moz
Copy link

With this change, when doing a local commit, eslint will run first. If eslint returns failure (eslint error) then the commit won't proceed.

@@ -1,6 +1,6 @@
{
"name": "@mozilla/raptor",
"version": "3.3.1",
"version": "3.4.0",
Copy link
Member

Choose a reason for hiding this comment

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

Let's remove the version bump. In thinking about it, changes to devDependencies that will only affect local development won't be impacted by versions, only the GH repo.

Copy link
Author

Choose a reason for hiding this comment

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

Ok right, makes sense.

rwood-moz pushed a commit that referenced this pull request Oct 28, 2015
Bug 1214679 - Add pre-commit ghook support for eslint
@rwood-moz rwood-moz merged commit 86718cc into mozilla-raptor:master Oct 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants