{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveX/RxJS/issues/665","labels_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/665/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/665/comments","events_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/665/events","html_url":"https://github.com/ReactiveX/RxJS/issues/665","id":115457169,"number":665,"title":"Enable clang-format (or similar) for code style consistency","user":{"login":"kwonoj","id":1210596,"avatar_url":"https://avatars.githubusercontent.com/u/1210596?v=3","gravatar_id":"","url":"https://api.github.com/users/kwonoj","html_url":"https://github.com/kwonoj","followers_url":"https://api.github.com/users/kwonoj/followers","following_url":"https://api.github.com/users/kwonoj/following{/other_user}","gists_url":"https://api.github.com/users/kwonoj/gists{/gist_id}","starred_url":"https://api.github.com/users/kwonoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwonoj/subscriptions","organizations_url":"https://api.github.com/users/kwonoj/orgs","repos_url":"https://api.github.com/users/kwonoj/repos","events_url":"https://api.github.com/users/kwonoj/events{/privacy}","received_events_url":"https://api.github.com/users/kwonoj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kwonoj","id":1210596,"avatar_url":"https://avatars.githubusercontent.com/u/1210596?v=3","gravatar_id":"","url":"https://api.github.com/users/kwonoj","html_url":"https://github.com/kwonoj","followers_url":"https://api.github.com/users/kwonoj/followers","following_url":"https://api.github.com/users/kwonoj/following{/other_user}","gists_url":"https://api.github.com/users/kwonoj/gists{/gist_id}","starred_url":"https://api.github.com/users/kwonoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwonoj/subscriptions","organizations_url":"https://api.github.com/users/kwonoj/orgs","repos_url":"https://api.github.com/users/kwonoj/repos","events_url":"https://api.github.com/users/kwonoj/events{/privacy}","received_events_url":"https://api.github.com/users/kwonoj/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-11-06T08:07:17Z","updated_at":"2015-11-06T21:39:14Z","closed_at":null,"body":"@robwormald 's suggestion to have style formatter over source code seems quite helpful for contributors as well as other automated tools like `lint`, `commitizen`, etcs.\r\n\r\nAngular 2 uses [`clang-format`](https://github.com/angular/angular/blob/master/DEVELOPER.md#formatting-with-clang-format) for those purpose, might be good candidate for RxJS also."},"comment":{"url":"https://api.github.com/repos/ReactiveX/RxJS/issues/comments/154549629","html_url":"https://github.com/ReactiveX/RxJS/issues/665#issuecomment-154549629","issue_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/665","id":154549629,"user":{"login":"robwormald","id":534930,"avatar_url":"https://avatars.githubusercontent.com/u/534930?v=3","gravatar_id":"","url":"https://api.github.com/users/robwormald","html_url":"https://github.com/robwormald","followers_url":"https://api.github.com/users/robwormald/followers","following_url":"https://api.github.com/users/robwormald/following{/other_user}","gists_url":"https://api.github.com/users/robwormald/gists{/gist_id}","starred_url":"https://api.github.com/users/robwormald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robwormald/subscriptions","organizations_url":"https://api.github.com/users/robwormald/orgs","repos_url":"https://api.github.com/users/robwormald/repos","events_url":"https://api.github.com/users/robwormald/events{/privacy}","received_events_url":"https://api.github.com/users/robwormald/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T21:39:14Z","updated_at":"2015-11-06T21:39:14Z","body":"i don't love it in angular2, but it does keep stuff consistent. we enforce it on CI only - the expectation would be you don't have it as part of the build step at all, run it as a precommit hook, it reformats code, and then it checks and enforces formatting on CI. shouldn't have any impact on build time."}}