{"action":"opened","number":170,"pull_request":{"url":"https://api.github.com/repos/cljdoc/cljdoc/pulls/170","id":224472278,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0NDcyMjc4","html_url":"https://github.com/cljdoc/cljdoc/pull/170","diff_url":"https://github.com/cljdoc/cljdoc/pull/170.diff","patch_url":"https://github.com/cljdoc/cljdoc/pull/170.patch","issue_url":"https://api.github.com/repos/cljdoc/cljdoc/issues/170","number":170,"state":"open","locked":false,"title":"Add prettier","user":{"login":"rakyi","id":6129025,"node_id":"MDQ6VXNlcjYxMjkwMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/6129025?v=4","gravatar_id":"","url":"https://api.github.com/users/rakyi","html_url":"https://github.com/rakyi","followers_url":"https://api.github.com/users/rakyi/followers","following_url":"https://api.github.com/users/rakyi/following{/other_user}","gists_url":"https://api.github.com/users/rakyi/gists{/gist_id}","starred_url":"https://api.github.com/users/rakyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakyi/subscriptions","organizations_url":"https://api.github.com/users/rakyi/orgs","repos_url":"https://api.github.com/users/rakyi/repos","events_url":"https://api.github.com/users/rakyi/events{/privacy}","received_events_url":"https://api.github.com/users/rakyi/received_events","type":"User","site_admin":false},"body":"- Added [Prettier](https://prettier.io/docs/en/why-prettier.html) with a default configuration to ensure consistent style of JS formatting\r\n- Added a [pre-commit hook](https://prettier.io/docs/en/precommit.html#option-2-pretty-quick-https-githubcom-azz-pretty-quick) to format staging files before \r\n\r\nFurther considerations:\r\n- Adding it to CI as well\r\n- Adding a similar tool for Clojure, e.g. cljfmt","created_at":"2018-10-20T12:36:07Z","updated_at":"2018-10-20T12:36:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cljdoc/cljdoc/pulls/170/commits","review_comments_url":"https://api.github.com/repos/cljdoc/cljdoc/pulls/170/comments","review_comment_url":"https://api.github.com/repos/cljdoc/cljdoc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cljdoc/cljdoc/issues/170/comments","statuses_url":"https://api.github.com/repos/cljdoc/cljdoc/statuses/1ce619e60a5f9b053f97c72d0e40e47d9833978e","head":{"label":"rakyi:js-prettier","ref":"js-prettier","sha":"1ce619e60a5f9b053f97c72d0e40e47d9833978e","user":{"login":"rakyi","id":6129025,"node_id":"MDQ6VXNlcjYxMjkwMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/6129025?v=4","gravatar_id":"","url":"https://api.github.com/users/rakyi","html_url":"https://github.com/rakyi","followers_url":"https://api.github.com/users/rakyi/followers","following_url":"https://api.github.com/users/rakyi/following{/other_user}","gists_url":"https://api.github.com/users/rakyi/gists{/gist_id}","starred_url":"https://api.github.com/users/rakyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakyi/subscriptions","organizations_url":"https://api.github.com/users/rakyi/orgs","repos_url":"https://api.github.com/users/rakyi/repos","events_url":"https://api.github.com/users/rakyi/events{/privacy}","received_events_url":"https://api.github.com/users/rakyi/received_events","type":"User","site_admin":false},"repo":{"id":153902832,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM5MDI4MzI=","name":"cljdoc","full_name":"rakyi/cljdoc","private":false,"owner":{"login":"rakyi","id":6129025,"node_id":"MDQ6VXNlcjYxMjkwMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/6129025?v=4","gravatar_id":"","url":"https://api.github.com/users/rakyi","html_url":"https://github.com/rakyi","followers_url":"https://api.github.com/users/rakyi/followers","following_url":"https://api.github.com/users/rakyi/following{/other_user}","gists_url":"https://api.github.com/users/rakyi/gists{/gist_id}","starred_url":"https://api.github.com/users/rakyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakyi/subscriptions","organizations_url":"https://api.github.com/users/rakyi/orgs","repos_url":"https://api.github.com/users/rakyi/repos","events_url":"https://api.github.com/users/rakyi/events{/privacy}","received_events_url":"https://api.github.com/users/rakyi/received_events","type":"User","site_admin":false},"html_url":"https://github.com/rakyi/cljdoc","description":"A central documentation hub for the Clojure community 🙌","fork":true,"url":"https://api.github.com/repos/rakyi/cljdoc","forks_url":"https://api.github.com/repos/rakyi/cljdoc/forks","keys_url":"https://api.github.com/repos/rakyi/cljdoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rakyi/cljdoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rakyi/cljdoc/teams","hooks_url":"https://api.github.com/repos/rakyi/cljdoc/hooks","issue_events_url":"https://api.github.com/repos/rakyi/cljdoc/issues/events{/number}","events_url":"https://api.github.com/repos/rakyi/cljdoc/events","assignees_url":"https://api.github.com/repos/rakyi/cljdoc/assignees{/user}","branches_url":"https://api.github.com/repos/rakyi/cljdoc/branches{/branch}","tags_url":"https://api.github.com/repos/rakyi/cljdoc/tags","blobs_url":"https://api.github.com/repos/rakyi/cljdoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rakyi/cljdoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rakyi/cljdoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/rakyi/cljdoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rakyi/cljdoc/statuses/{sha}","languages_url":"https://api.github.com/repos/rakyi/cljdoc/languages","stargazers_url":"https://api.github.com/repos/rakyi/cljdoc/stargazers","contributors_url":"https://api.github.com/repos/rakyi/cljdoc/contributors","subscribers_url":"https://api.github.com/repos/rakyi/cljdoc/subscribers","subscription_url":"https://api.github.com/repos/rakyi/cljdoc/subscription","commits_url":"https://api.github.com/repos/rakyi/cljdoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/rakyi/cljdoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/rakyi/cljdoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/rakyi/cljdoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/rakyi/cljdoc/contents/{+path}","compare_url":"https://api.github.com/repos/rakyi/cljdoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rakyi/cljdoc/merges","archive_url":"https://api.github.com/repos/rakyi/cljdoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rakyi/cljdoc/downloads","issues_url":"https://api.github.com/repos/rakyi/cljdoc/issues{/number}","pulls_url":"https://api.github.com/repos/rakyi/cljdoc/pulls{/number}","milestones_url":"https://api.github.com/repos/rakyi/cljdoc/milestones{/number}","notifications_url":"https://api.github.com/repos/rakyi/cljdoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rakyi/cljdoc/labels{/name}","releases_url":"https://api.github.com/repos/rakyi/cljdoc/releases{/id}","deployments_url":"https://api.github.com/repos/rakyi/cljdoc/deployments","created_at":"2018-10-20T12:21:59Z","updated_at":"2018-10-20T12:22:01Z","pushed_at":"2018-10-20T12:22:36Z","git_url":"git://github.com/rakyi/cljdoc.git","ssh_url":"git@github.com:rakyi/cljdoc.git","clone_url":"https://github.com/rakyi/cljdoc.git","svn_url":"https://github.com/rakyi/cljdoc","homepage":"https://cljdoc.xyz","size":1726,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"epl-2.0","name":"Eclipse Public License 2.0","spdx_id":"EPL-2.0","url":"https://api.github.com/licenses/epl-2.0","node_id":"MDc6TGljZW5zZTMy"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cljdoc:master","ref":"master","sha":"460365c68e46109bd3490175cf815ee439636fbc","user":{"login":"cljdoc","id":40694562,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNjk0NTYy","avatar_url":"https://avatars3.githubusercontent.com/u/40694562?v=4","gravatar_id":"","url":"https://api.github.com/users/cljdoc","html_url":"https://github.com/cljdoc","followers_url":"https://api.github.com/users/cljdoc/followers","following_url":"https://api.github.com/users/cljdoc/following{/other_user}","gists_url":"https://api.github.com/users/cljdoc/gists{/gist_id}","starred_url":"https://api.github.com/users/cljdoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cljdoc/subscriptions","organizations_url":"https://api.github.com/users/cljdoc/orgs","repos_url":"https://api.github.com/users/cljdoc/repos","events_url":"https://api.github.com/users/cljdoc/events{/privacy}","received_events_url":"https://api.github.com/users/cljdoc/received_events","type":"Organization","site_admin":false},"repo":{"id":116408795,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY0MDg3OTU=","name":"cljdoc","full_name":"cljdoc/cljdoc","private":false,"owner":{"login":"cljdoc","id":40694562,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNjk0NTYy","avatar_url":"https://avatars3.githubusercontent.com/u/40694562?v=4","gravatar_id":"","url":"https://api.github.com/users/cljdoc","html_url":"https://github.com/cljdoc","followers_url":"https://api.github.com/users/cljdoc/followers","following_url":"https://api.github.com/users/cljdoc/following{/other_user}","gists_url":"https://api.github.com/users/cljdoc/gists{/gist_id}","starred_url":"https://api.github.com/users/cljdoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cljdoc/subscriptions","organizations_url":"https://api.github.com/users/cljdoc/orgs","repos_url":"https://api.github.com/users/cljdoc/repos","events_url":"https://api.github.com/users/cljdoc/events{/privacy}","received_events_url":"https://api.github.com/users/cljdoc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cljdoc/cljdoc","description":"A central documentation hub for the Clojure community 🙌","fork":false,"url":"https://api.github.com/repos/cljdoc/cljdoc","forks_url":"https://api.github.com/repos/cljdoc/cljdoc/forks","keys_url":"https://api.github.com/repos/cljdoc/cljdoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cljdoc/cljdoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cljdoc/cljdoc/teams","hooks_url":"https://api.github.com/repos/cljdoc/cljdoc/hooks","issue_events_url":"https://api.github.com/repos/cljdoc/cljdoc/issues/events{/number}","events_url":"https://api.github.com/repos/cljdoc/cljdoc/events","assignees_url":"https://api.github.com/repos/cljdoc/cljdoc/assignees{/user}","branches_url":"https://api.github.com/repos/cljdoc/cljdoc/branches{/branch}","tags_url":"https://api.github.com/repos/cljdoc/cljdoc/tags","blobs_url":"https://api.github.com/repos/cljdoc/cljdoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cljdoc/cljdoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cljdoc/cljdoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/cljdoc/cljdoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cljdoc/cljdoc/statuses/{sha}","languages_url":"https://api.github.com/repos/cljdoc/cljdoc/languages","stargazers_url":"https://api.github.com/repos/cljdoc/cljdoc/stargazers","contributors_url":"https://api.github.com/repos/cljdoc/cljdoc/contributors","subscribers_url":"https://api.github.com/repos/cljdoc/cljdoc/subscribers","subscription_url":"https://api.github.com/repos/cljdoc/cljdoc/subscription","commits_url":"https://api.github.com/repos/cljdoc/cljdoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/cljdoc/cljdoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/cljdoc/cljdoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/cljdoc/cljdoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/cljdoc/cljdoc/contents/{+path}","compare_url":"https://api.github.com/repos/cljdoc/cljdoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cljdoc/cljdoc/merges","archive_url":"https://api.github.com/repos/cljdoc/cljdoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cljdoc/cljdoc/downloads","issues_url":"https://api.github.com/repos/cljdoc/cljdoc/issues{/number}","pulls_url":"https://api.github.com/repos/cljdoc/cljdoc/pulls{/number}","milestones_url":"https://api.github.com/repos/cljdoc/cljdoc/milestones{/number}","notifications_url":"https://api.github.com/repos/cljdoc/cljdoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cljdoc/cljdoc/labels{/name}","releases_url":"https://api.github.com/repos/cljdoc/cljdoc/releases{/id}","deployments_url":"https://api.github.com/repos/cljdoc/cljdoc/deployments","created_at":"2018-01-05T17:14:04Z","updated_at":"2018-10-20T08:46:09Z","pushed_at":"2018-10-20T08:46:07Z","git_url":"git://github.com/cljdoc/cljdoc.git","ssh_url":"git@github.com:cljdoc/cljdoc.git","clone_url":"https://github.com/cljdoc/cljdoc.git","svn_url":"https://github.com/cljdoc/cljdoc","homepage":"https://cljdoc.xyz","size":1726,"stargazers_count":234,"watchers_count":234,"language":"Clojure","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"archived":false,"open_issues_count":45,"license":{"key":"epl-2.0","name":"Eclipse Public License 2.0","spdx_id":"EPL-2.0","url":"https://api.github.com/licenses/epl-2.0","node_id":"MDc6TGljZW5zZTMy"},"forks":40,"open_issues":45,"watchers":234,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cljdoc/cljdoc/pulls/170"},"html":{"href":"https://github.com/cljdoc/cljdoc/pull/170"},"issue":{"href":"https://api.github.com/repos/cljdoc/cljdoc/issues/170"},"comments":{"href":"https://api.github.com/repos/cljdoc/cljdoc/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/cljdoc/cljdoc/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/cljdoc/cljdoc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cljdoc/cljdoc/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/cljdoc/cljdoc/statuses/1ce619e60a5f9b053f97c72d0e40e47d9833978e"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":935,"deletions":228,"changed_files":6}}
{"actor":{"display_login":"rakyi"}}