-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
DEV - Implement Prettier code formatting standard #1887
Comments
The article goes over setting up Prettier and automating the formatting process by using git hooks. The two files used to format in the example (.prettierrc, .editorconfig) uses the default formatting VSCode comes with out the box. I'd recommend trying out the workflow locally on a personal project to get the gist of how formatting works. |
This ticket is ready to be picked up 👍 |
Hey @ryanfchase Let's move this ticket back to Icebox as the Action Items aren't clearly defined and would have to involve collaboration with the dev team. I propose we follow these steps as individual Dev issues for the Epic (#1877):
Btw @efrenmarin45 I really appreicate your article on Prettier! I agree with running Prettier locally. In our next team meeting let's all discuss the intent behind formatting and talk next steps in using Prettier in our development workflow. |
@traycn works for me, but I think we should just incorporate your proposed list into the action items of this ticket. I don't see a point of splitting it into multiple tickets when one dev should be responsible for integrating the prettier config files. If Steps 1-3 are integrated into this ticket, then we can remove my proposed ticket "Implement and test Prettier configuration files" and "Implement and test Prettier configuration files" from the Epic. Do you have thoughts on when we should actually perform and commit a Prettier format for the entire codebase? |
Moved ticket to New Issue Approval since we are discussing Action Items. |
Let's set this ticket for Post-Launch and start working on this implementation when we're more moved along with Pre-Launch. Concerning the Epic for this Prettier implentation, what was the reasoning behind creating an Epic? Also how do PMs decide on when a task is an Epic or an individual issue? |
Per meeting -- I discussed some high level definitions:
As for deciding between Epics / individual Issues, there isn't an explicit process for this. I'm usually open to discussion on when to create Epics. Epics tend to be mostly useful for Leads and PMs, we don't put much emphasis on organizing these for volunteers on the Individual Contributor level. |
I'm happy to prioritize this as post-launch, but we should update the Action Items based on our discussion. I believe we have everything we need to move this forward.
I can move forward with this when I have your sign-off. |
Updated the Actions Items of this ticket with these steps:
Also updated the Epic: Prettier Code Formatting 1877 Action Items. I had changed the complexity of this task as there are a lot of moving parts with both development and team collaboration. These need more time since it's dependent on the teams feedback. |
This comment has been minimized.
This comment has been minimized.
after discussion, we are blocking this ticket until we have hit our Launch milestone. We don't want any devs to pick this up until after we have launched. Completing this ticket will require all devs to pause work on tickets until they have adopted Prettier. Dev lead expects to manage bugs that come up while devs are integrating Prettier |
Dependency
Overview
Propose formatting standard for the 311 Data repo with Prettier
More Info (optional)
Consider finding an existing open source project with well-documented code formatting rules that would work well with our codebase
Action Items
.prettierrc
.editorconfig
Resources/Instructions
The text was updated successfully, but these errors were encountered: