-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chore: Make our repo pretty #1523
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are things in here I'd like to discuss more, maybe it would be good to do that at our next meeting.
src/angular-app/bellows/apps/changepassword/change-password-app.component.html
Outdated
Show resolved
Hide resolved
@longrunningprocess thanks for your review. I can see that the default Prettier code formatting is not in the style you prefer, so I would suggest that you check out https://prettier.io/playground/ and play around there with options so that when we have our meeting we can discuss different options. I can tell you that we do have a strong preference for spaces, not tabs. In most other styles, I honestly don't care, so if there is a prettier option to make things more toward your likely I would be happy to integrate that. The purpose of Prettier is not that we make things looking exactly how we'd like them, but that devs don't have to think at all about stylistic formatting when they develop. They simply write in the style they prefer (tabs! no-semi-colons!) and the code is consistently formatted on check-in in the same way for all devs. Also check out the "Why Prettier" page for the motivation for why I believe it's worth doing: https://prettier.io/docs/en/why-prettier.html |
88590d8
to
e7211b2
Compare
I had forgotten to pretty-up our php code. I've updated the commits with those changes now. |
e7211b2
to
fb79fef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm glad you went with husky and I like a bunch of the clean-ups, great work @myieye 🏆
36bdb97
to
9feb0d3
Compare
Tim, once this PR is merged, will you go and do a prettier commit on each open branch? Or do you recommend that the branch author do it using a documented command? For any open PRs, it would be great if you would do the commit directly and verify that the diff looks good on github. For other branches that are wip maybe the author should follow whatever directions you provide to run prettier - thoughts? |
9feb0d3
to
e2d2d31
Compare
e2d2d31
to
dbcdce7
Compare
@megahirt I just requested devs to push any branches that might be missing (not really expecting anything). |
dbcdce7
to
571f784
Compare
Part 2/3 of #1203
Description
Pretties all our code.
Type of Change
Checklist