{"action":"created","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/8427","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/8427/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/8427/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/8427/events","html_url":"https://github.com/gatsbyjs/gatsby/pull/8427","id":362699564,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MzQ0MDYx","number":8427,"title":"Add git hooks and simplify scripts","user":{"login":"lipis","id":125676,"node_id":"MDQ6VXNlcjEyNTY3Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/125676?v=4","gravatar_id":"","url":"https://api.github.com/users/lipis","html_url":"https://github.com/lipis","followers_url":"https://api.github.com/users/lipis/followers","following_url":"https://api.github.com/users/lipis/following{/other_user}","gists_url":"https://api.github.com/users/lipis/gists{/gist_id}","starred_url":"https://api.github.com/users/lipis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipis/subscriptions","organizations_url":"https://api.github.com/users/lipis/orgs","repos_url":"https://api.github.com/users/lipis/repos","events_url":"https://api.github.com/users/lipis/events{/privacy}","received_events_url":"https://api.github.com/users/lipis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2018-09-21T16:56:20Z","updated_at":"2018-09-27T22:00:39Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/pulls/8427","html_url":"https://github.com/gatsbyjs/gatsby/pull/8427","diff_url":"https://github.com/gatsbyjs/gatsby/pull/8427.diff","patch_url":"https://github.com/gatsbyjs/gatsby/pull/8427.patch"},"body":"- [x] Add git hooks to make sure the files are formatted before commiting\r\n- [x] Simplify `format*` scripts\r\n- [x] Drop prettier-eslint (is just a wrapper for ESLint and Prettier that we are using already)\r\n\r\n----\r\n### The actual formats will happen in follow up PRs\r\n\r\n- [Format preview for `format:js`](https://github.com/lipis/gatsby/pull/2/files)\r\n- [Format preview for `format:other`](https://github.com/lipis/gatsby/pull/1/files)\r\n"},"comment":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/comments/425256865","html_url":"https://github.com/gatsbyjs/gatsby/pull/8427#issuecomment-425256865","issue_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/8427","id":425256865,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTI1Njg2NQ==","user":{"login":"oorestisime","id":3874836,"node_id":"MDQ6VXNlcjM4NzQ4MzY=","avatar_url":"https://avatars0.githubusercontent.com/u/3874836?v=4","gravatar_id":"","url":"https://api.github.com/users/oorestisime","html_url":"https://github.com/oorestisime","followers_url":"https://api.github.com/users/oorestisime/followers","following_url":"https://api.github.com/users/oorestisime/following{/other_user}","gists_url":"https://api.github.com/users/oorestisime/gists{/gist_id}","starred_url":"https://api.github.com/users/oorestisime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oorestisime/subscriptions","organizations_url":"https://api.github.com/users/oorestisime/orgs","repos_url":"https://api.github.com/users/oorestisime/repos","events_url":"https://api.github.com/users/oorestisime/events{/privacy}","received_events_url":"https://api.github.com/users/oorestisime/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T22:00:39Z","updated_at":"2018-09-27T22:00:39Z","author_association":"CONTRIBUTOR","body":"FWIW I am not entirely sold on pre-commit hooks for a few reasons\r\n\r\n* extra barrier for first contributions (as if people can contribute and in the end it will take a few minutes to fix eslint issues when merging the PR)\r\n* it happens way to early in the process (as @pieh said in for wip PR)\r\n* strictly personal opinion, i don't like tools autoformating my code :D I prefer having a tools to say what is wrong and adjust accordingly."}}
{"actor":{"display_login":"oorestisime"}}