{"action":"created","issue":{"url":"https://api.github.com/repos/stampit-org/stampit/issues/119","labels_url":"https://api.github.com/repos/stampit-org/stampit/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/stampit-org/stampit/issues/119/comments","events_url":"https://api.github.com/repos/stampit-org/stampit/issues/119/events","html_url":"https://github.com/stampit-org/stampit/issues/119","id":89788303,"number":119,"title":"Precommit hook","user":{"login":"ericelliott","id":364727,"avatar_url":"https://avatars.githubusercontent.com/u/364727?v=3","gravatar_id":"","url":"https://api.github.com/users/ericelliott","html_url":"https://github.com/ericelliott","followers_url":"https://api.github.com/users/ericelliott/followers","following_url":"https://api.github.com/users/ericelliott/following{/other_user}","gists_url":"https://api.github.com/users/ericelliott/gists{/gist_id}","starred_url":"https://api.github.com/users/ericelliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericelliott/subscriptions","organizations_url":"https://api.github.com/users/ericelliott/orgs","repos_url":"https://api.github.com/users/ericelliott/repos","events_url":"https://api.github.com/users/ericelliott/events{/privacy}","received_events_url":"https://api.github.com/users/ericelliott/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-20T16:22:31Z","updated_at":"2015-06-21T01:54:55Z","closed_at":null,"body":"Example:\r\n\r\n* [ ] [Package dependency](https://github.com/ericelliott/prod-module-boilerplate/blob/master/package.json#L38)\r\n* [ ] [Configure pre-commit](https://github.com/ericelliott/prod-module-boilerplate/blob/master/package.json#L27)\r\n* [ ] [Quality validation](https://github.com/ericelliott/prod-module-boilerplate/blob/master/package.json#L23)\r\n* [ ] [Dependency audit and update](https://github.com/ericelliott/prod-module-boilerplate/blob/master/package.json#L24)\r\n* [ ] [Manual run script](https://github.com/ericelliott/prod-module-boilerplate/blob/master/package.json#L25)\r\n\r\n\r\nSee [Upgrade Stampit quality control and security meta](https://github.com/stampit-org/stampit/issues/116)"},"comment":{"url":"https://api.github.com/repos/stampit-org/stampit/issues/comments/113849545","html_url":"https://github.com/stampit-org/stampit/issues/119#issuecomment-113849545","issue_url":"https://api.github.com/repos/stampit-org/stampit/issues/119","id":113849545,"user":{"login":"koresar","id":1622575,"avatar_url":"https://avatars.githubusercontent.com/u/1622575?v=3","gravatar_id":"","url":"https://api.github.com/users/koresar","html_url":"https://github.com/koresar","followers_url":"https://api.github.com/users/koresar/followers","following_url":"https://api.github.com/users/koresar/following{/other_user}","gists_url":"https://api.github.com/users/koresar/gists{/gist_id}","starred_url":"https://api.github.com/users/koresar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koresar/subscriptions","organizations_url":"https://api.github.com/users/koresar/orgs","repos_url":"https://api.github.com/users/koresar/repos","events_url":"https://api.github.com/users/koresar/events{/privacy}","received_events_url":"https://api.github.com/users/koresar/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T01:54:55Z","updated_at":"2015-06-21T01:54:55Z","body":"@nkbt That you for the tip with the WebStorm. Is there a same for SourceTree?\r\nI'm not using changelists in WebStorm, disabled them intentionally. Any other workaround maybe?\r\n\r\nHowever, thinking of all the workarounds is making me anxious. It's simpler not to implement any git hooks, - no workarounds would be needed. :)\r\n\r\n> I personally believe that committing broken code should be a rare exception.\r\n\r\nThat's is my personal opinion too, but only for the single developer projects. In my experience, if there are two or more people working on the same repository the git hooks suck. @nkbt try pre-commits in your team and let us know how it went.\r\n\r\n> Though possible solution could be to utilize pre-push rather then pre-commit.\r\n\r\nThis brings same troubles as pre-commit hooks, just the troubles happen more rare."}}