{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/addons-frontend/issues/5448","repository_url":"https://api.github.com/repos/mozilla/addons-frontend","labels_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/5448/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/5448/comments","events_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/5448/events","html_url":"https://github.com/mozilla/addons-frontend/issues/5448","id":336751752,"node_id":"MDU6SXNzdWUzMzY3NTE3NTI=","number":5448,"title":"Only run prettier on changed files","user":{"login":"kumar303","id":55398,"node_id":"MDQ6VXNlcjU1Mzk4","avatar_url":"https://avatars1.githubusercontent.com/u/55398?v=4","gravatar_id":"","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"labels":[{"id":357492876,"node_id":"MDU6TGFiZWwzNTc0OTI4NzY=","url":"https://api.github.com/repos/mozilla/addons-frontend/labels/component:%20code%20quality","name":"component: code quality","color":"107c05","default":false},{"id":430754745,"node_id":"MDU6TGFiZWw0MzA3NTQ3NDU=","url":"https://api.github.com/repos/mozilla/addons-frontend/labels/qa:%20not%20needed","name":"qa: not needed","color":"fef1af","default":false},{"id":350682014,"node_id":"MDU6TGFiZWwzNTA2ODIwMTQ=","url":"https://api.github.com/repos/mozilla/addons-frontend/labels/triaged","name":"triaged","color":"eeeeee","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-28T19:34:03Z","updated_at":"2018-06-29T12:45:13Z","closed_at":null,"author_association":"MEMBER","body":"For contributors who are relying on the `yarn prettier` command, it will be a slow and annoying. We should give them something like `yarn prettier-dev` which will only run prettier on the changed files.\r\n\r\nIt looks like [Pretty-Quick](https://github.com/azz/pretty-quick#pretty-quick) will do this for us."},"comment":{"url":"https://api.github.com/repos/mozilla/addons-frontend/issues/comments/401343284","html_url":"https://github.com/mozilla/addons-frontend/issues/5448#issuecomment-401343284","issue_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/5448","id":401343284,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTM0MzI4NA==","user":{"login":"SeanPrashad","id":13009507,"node_id":"MDQ6VXNlcjEzMDA5NTA3","avatar_url":"https://avatars2.githubusercontent.com/u/13009507?v=4","gravatar_id":"","url":"https://api.github.com/users/SeanPrashad","html_url":"https://github.com/SeanPrashad","followers_url":"https://api.github.com/users/SeanPrashad/followers","following_url":"https://api.github.com/users/SeanPrashad/following{/other_user}","gists_url":"https://api.github.com/users/SeanPrashad/gists{/gist_id}","starred_url":"https://api.github.com/users/SeanPrashad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeanPrashad/subscriptions","organizations_url":"https://api.github.com/users/SeanPrashad/orgs","repos_url":"https://api.github.com/users/SeanPrashad/repos","events_url":"https://api.github.com/users/SeanPrashad/events{/privacy}","received_events_url":"https://api.github.com/users/SeanPrashad/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T12:45:13Z","updated_at":"2018-06-29T12:45:13Z","author_association":"CONTRIBUTOR","body":"Would we want to implement the [pre-commit hook functionality](https://github.com/azz/pretty-quick#pre-commit-hook) of pretty-quick **and** add a `yarn prettier-dev` command or simply the latter?\r\n\r\nThe reason why I'm asking is that automating it via pre-commit hooks would automate prettier and provide a seamless experience. What do you think?"}}
{"actor":{"display_login":"SeanPrashad"}}