{"action":"created","issue":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/5311","repository_url":"https://api.github.com/repos/jupyterlab/jupyterlab","labels_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/5311/labels{/name}","comments_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/5311/comments","events_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/5311/events","html_url":"https://github.com/jupyterlab/jupyterlab/pull/5311","id":359906652,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1MjkwOTkx","number":5311,"title":"Add git config option for disabling hooks","user":{"login":"vidartf","id":510760,"node_id":"MDQ6VXNlcjUxMDc2MA==","avatar_url":"https://avatars3.githubusercontent.com/u/510760?v=4","gravatar_id":"","url":"https://api.github.com/users/vidartf","html_url":"https://github.com/vidartf","followers_url":"https://api.github.com/users/vidartf/followers","following_url":"https://api.github.com/users/vidartf/following{/other_user}","gists_url":"https://api.github.com/users/vidartf/gists{/gist_id}","starred_url":"https://api.github.com/users/vidartf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidartf/subscriptions","organizations_url":"https://api.github.com/users/vidartf/orgs","repos_url":"https://api.github.com/users/vidartf/repos","events_url":"https://api.github.com/users/vidartf/events{/privacy}","received_events_url":"https://api.github.com/users/vidartf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-13T13:54:17Z","updated_at":"2018-09-13T14:17:24Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab/pulls/5311","html_url":"https://github.com/jupyterlab/jupyterlab/pull/5311","diff_url":"https://github.com/jupyterlab/jupyterlab/pull/5311.diff","patch_url":"https://github.com/jupyterlab/jupyterlab/pull/5311.patch"},"body":"The pre-commit hooks can sometimes be quite intrusive in the development process (and slow). With this PR, by adding the git config option `husky.disableHooks = true`, pre-commit hooks will be disabled.\r\n\r\nExample use: `git config --replace-all husky.disableHooks true`\r\nTo restore hooks: `git config --unset husky.disableHooks`"},"comment":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/comments/421023429","html_url":"https://github.com/jupyterlab/jupyterlab/pull/5311#issuecomment-421023429","issue_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/5311","id":421023429,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTAyMzQyOQ==","user":{"login":"blink1073","id":2096628,"node_id":"MDQ6VXNlcjIwOTY2Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/2096628?v=4","gravatar_id":"","url":"https://api.github.com/users/blink1073","html_url":"https://github.com/blink1073","followers_url":"https://api.github.com/users/blink1073/followers","following_url":"https://api.github.com/users/blink1073/following{/other_user}","gists_url":"https://api.github.com/users/blink1073/gists{/gist_id}","starred_url":"https://api.github.com/users/blink1073/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blink1073/subscriptions","organizations_url":"https://api.github.com/users/blink1073/orgs","repos_url":"https://api.github.com/users/blink1073/repos","events_url":"https://api.github.com/users/blink1073/events{/privacy}","received_events_url":"https://api.github.com/users/blink1073/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T14:17:24Z","updated_at":"2018-09-13T14:17:24Z","author_association":"MEMBER","body":"How about this: we run just the linters without `git add` on `pre-commit`.  Then on `pre-push`, we run integrity and then warn if you have unstaged data?"}}
{"actor":{"display_login":"blink1073"}}