{"action":"created","issue":{"url":"https://api.github.com/repos/kobotoolbox/kpi/issues/1790","repository_url":"https://api.github.com/repos/kobotoolbox/kpi","labels_url":"https://api.github.com/repos/kobotoolbox/kpi/issues/1790/labels{/name}","comments_url":"https://api.github.com/repos/kobotoolbox/kpi/issues/1790/comments","events_url":"https://api.github.com/repos/kobotoolbox/kpi/issues/1790/events","html_url":"https://github.com/kobotoolbox/kpi/pull/1790","id":325751884,"number":1790,"title":"Revert prettier code-formatting","user":{"login":"pmusaraj","id":368961,"avatar_url":"https://avatars1.githubusercontent.com/u/368961?v=4","gravatar_id":"","url":"https://api.github.com/users/pmusaraj","html_url":"https://github.com/pmusaraj","followers_url":"https://api.github.com/users/pmusaraj/followers","following_url":"https://api.github.com/users/pmusaraj/following{/other_user}","gists_url":"https://api.github.com/users/pmusaraj/gists{/gist_id}","starred_url":"https://api.github.com/users/pmusaraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmusaraj/subscriptions","organizations_url":"https://api.github.com/users/pmusaraj/orgs","repos_url":"https://api.github.com/users/pmusaraj/repos","events_url":"https://api.github.com/users/pmusaraj/events{/privacy}","received_events_url":"https://api.github.com/users/pmusaraj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-23T15:11:14Z","updated_at":"2018-05-23T17:56:29Z","closed_at":"2018-05-23T17:56:09Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/kobotoolbox/kpi/pulls/1790","html_url":"https://github.com/kobotoolbox/kpi/pull/1790","diff_url":"https://github.com/kobotoolbox/kpi/pull/1790.diff","patch_url":"https://github.com/kobotoolbox/kpi/pull/1790.patch"},"body":"Reverts https://github.com/kobotoolbox/kpi/pull/1778. \r\n\r\nPrettier's pre-commit hook makes formatting changes to whole files (as soon as anything on the file is edited). That means that we would quickly lose the line-by-line `git blame` history (or make it extremely complicated to access). \r\n\r\nAfter discussions with John, we decided to revert Prettier. We may revisit this in the future, but we would certainly look for something that's less drastic. "},"comment":{"url":"https://api.github.com/repos/kobotoolbox/kpi/issues/comments/391440974","html_url":"https://github.com/kobotoolbox/kpi/pull/1790#issuecomment-391440974","issue_url":"https://api.github.com/repos/kobotoolbox/kpi/issues/1790","id":391440974,"user":{"login":"jnm","id":2085013,"avatar_url":"https://avatars3.githubusercontent.com/u/2085013?v=4","gravatar_id":"","url":"https://api.github.com/users/jnm","html_url":"https://github.com/jnm","followers_url":"https://api.github.com/users/jnm/followers","following_url":"https://api.github.com/users/jnm/following{/other_user}","gists_url":"https://api.github.com/users/jnm/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm/subscriptions","organizations_url":"https://api.github.com/users/jnm/orgs","repos_url":"https://api.github.com/users/jnm/repos","events_url":"https://api.github.com/users/jnm/events{/privacy}","received_events_url":"https://api.github.com/users/jnm/received_events","type":"User","site_admin":false},"created_at":"2018-05-23T17:56:29Z","updated_at":"2018-05-23T17:56:29Z","author_association":"CONTRIBUTOR","body":"It'd be great to have a tool like Prettier that operates only on changed lines, but alas..."}}
{"actor":{"display_login":"jnm"}}