{"action":"created","issue":{"url":"https://api.github.com/repos/buzinas/tslint-eslint-rules/issues/280","repository_url":"https://api.github.com/repos/buzinas/tslint-eslint-rules","labels_url":"https://api.github.com/repos/buzinas/tslint-eslint-rules/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/buzinas/tslint-eslint-rules/issues/280/comments","events_url":"https://api.github.com/repos/buzinas/tslint-eslint-rules/issues/280/events","html_url":"https://github.com/buzinas/tslint-eslint-rules/issues/280","id":275199835,"number":280,"title":"About using Prettier in tslint-eslint-rules","user":{"login":"trivikr","id":16024985,"avatar_url":"https://avatars2.githubusercontent.com/u/16024985?v=4","gravatar_id":"","url":"https://api.github.com/users/trivikr","html_url":"https://github.com/trivikr","followers_url":"https://api.github.com/users/trivikr/followers","following_url":"https://api.github.com/users/trivikr/following{/other_user}","gists_url":"https://api.github.com/users/trivikr/gists{/gist_id}","starred_url":"https://api.github.com/users/trivikr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trivikr/subscriptions","organizations_url":"https://api.github.com/users/trivikr/orgs","repos_url":"https://api.github.com/users/trivikr/repos","events_url":"https://api.github.com/users/trivikr/events{/privacy}","received_events_url":"https://api.github.com/users/trivikr/received_events","type":"User","site_admin":false},"labels":[{"id":459444170,"url":"https://api.github.com/repos/buzinas/tslint-eslint-rules/labels/suggestion","name":"suggestion","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"buzinas","id":7298695,"avatar_url":"https://avatars1.githubusercontent.com/u/7298695?v=4","gravatar_id":"","url":"https://api.github.com/users/buzinas","html_url":"https://github.com/buzinas","followers_url":"https://api.github.com/users/buzinas/followers","following_url":"https://api.github.com/users/buzinas/following{/other_user}","gists_url":"https://api.github.com/users/buzinas/gists{/gist_id}","starred_url":"https://api.github.com/users/buzinas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buzinas/subscriptions","organizations_url":"https://api.github.com/users/buzinas/orgs","repos_url":"https://api.github.com/users/buzinas/repos","events_url":"https://api.github.com/users/buzinas/events{/privacy}","received_events_url":"https://api.github.com/users/buzinas/received_events","type":"User","site_admin":false},"assignees":[{"login":"buzinas","id":7298695,"avatar_url":"https://avatars1.githubusercontent.com/u/7298695?v=4","gravatar_id":"","url":"https://api.github.com/users/buzinas","html_url":"https://github.com/buzinas","followers_url":"https://api.github.com/users/buzinas/followers","following_url":"https://api.github.com/users/buzinas/following{/other_user}","gists_url":"https://api.github.com/users/buzinas/gists{/gist_id}","starred_url":"https://api.github.com/users/buzinas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buzinas/subscriptions","organizations_url":"https://api.github.com/users/buzinas/orgs","repos_url":"https://api.github.com/users/buzinas/repos","events_url":"https://api.github.com/users/buzinas/events{/privacy}","received_events_url":"https://api.github.com/users/buzinas/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-11-19T22:43:05Z","updated_at":"2018-02-26T05:24:39Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Can we use [Prettier](https://github.com/prettier/prettier) for formatting TypeScript code in tslint-eslint-rules?\r\nPrettier is an opinionated code formatter. It removes all original styling and ensures that all outputted code conforms to a consistent style.\r\n\r\nWe recently started using Prettier for private projects, and life has been better. We don't worry/argue about formatting any more 😊\r\nOf course there was initial oppositions to some of the decisions taken by Prettier (like [lack of parenthesis around single param arrow functions](https://github.com/prettier/prettier/issues/812)), but we got used to it with time. [**Update**: [Prettier 1.9](https://github.com/prettier/prettier/releases/tag/1.9.0) now has support for arrowParens]\r\nFor Open Source projects which don't use Prettier, I manually run Prettier CLI for the files which I'm editing. I believe developers will be more productive if we use formatters like Prettier in tslint-eslint-rules. What do you think? "},"comment":{"url":"https://api.github.com/repos/buzinas/tslint-eslint-rules/issues/comments/368393550","html_url":"https://github.com/buzinas/tslint-eslint-rules/issues/280#issuecomment-368393550","issue_url":"https://api.github.com/repos/buzinas/tslint-eslint-rules/issues/280","id":368393550,"user":{"login":"trivikr","id":16024985,"avatar_url":"https://avatars2.githubusercontent.com/u/16024985?v=4","gravatar_id":"","url":"https://api.github.com/users/trivikr","html_url":"https://github.com/trivikr","followers_url":"https://api.github.com/users/trivikr/followers","following_url":"https://api.github.com/users/trivikr/following{/other_user}","gists_url":"https://api.github.com/users/trivikr/gists{/gist_id}","starred_url":"https://api.github.com/users/trivikr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trivikr/subscriptions","organizations_url":"https://api.github.com/users/trivikr/orgs","repos_url":"https://api.github.com/users/trivikr/repos","events_url":"https://api.github.com/users/trivikr/events{/privacy}","received_events_url":"https://api.github.com/users/trivikr/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T05:24:39Z","updated_at":"2018-02-26T05:24:39Z","author_association":"CONTRIBUTOR","body":"👍\r\nI'll raise a PR with Prettier once my other PRs are merged to master https://github.com/buzinas/tslint-eslint-rules/pulls"}}
{"actor":{"display_login":"trivikr"}}