-
-
Notifications
You must be signed in to change notification settings - Fork 844
Open
Labels
Complexity: Extra LargeDependencyAn issue is blocking the completion or starting of another issueAn issue is blocking the completion or starting of another issueEREmergent RequestEmergent RequestFeature: Refactor CSSPage is working fine - CSS needs changes to become consistent with other pagesPage is working fine - CSS needs changes to become consistent with other pagesFeature: Refactor HTMLFeature: Refactor JS / LiquidPage is working fine - JS / Liquid needs changes to become consistent with other pagesPage is working fine - JS / Liquid needs changes to become consistent with other pagesLang: GHAGitHub ActionsGitHub ActionsSkill: feasibilityrole: back end/devOpsTasks for back-end developersTasks for back-end developersrole: front endTasks for front end developersTasks for front end developerssize: 1ptCan be done in 4-6 hoursCan be done in 4-6 hours
Milestone
Description
Dependency
Emergent Requirement - Problem
As our project grow and attract contributions from a diverse group of developers, we have different styles of coding styles across our codebase (trailing spaces, spaces between operators, braces style, etc.). This poses a challenge for readability, maintainability and collaboration.
Proposing we explore the feasibility of adopting a unified coding format standard.
Issue you discovered this emergent requirement in
Date discovered
05/01/2024
Did you have to do something temporarily
- YES
- NO
Who was involved
What happens if this is not addressed
- Different styles of code pose a challenge for readability, maintainability and collaboration.
- The absence of guidelines for naming, formatting, and commenting practices could adversely affect our professionalism and compromise the quality of our work.
Resources
Why Prettier
Firefox CSS Guidelines
VS Code Formatter: TypeScript
Airbnb JavaScript Style Guide
Google JavaScript Style Guide
Recommended Action Items
- Make a new issue
- Discuss with team
- Let a Team Lead know
Potential solutions [draft]
We can solve this in several steps:
- Perform an analysis of existing codebase, including the language and file type.
- Research existing standardized guidelines and practices (potentially for each file type), then choose/define our standard
- Creating documents for reference and training
- Explore tooling and automation solutions: linters and formatters configurations in code editors, GHA checkers, etc.
- Consider either incremental refactoring or major refactoring for existing non-conforming code, depending on priority.
Metadata
Metadata
Assignees
Labels
Complexity: Extra LargeDependencyAn issue is blocking the completion or starting of another issueAn issue is blocking the completion or starting of another issueEREmergent RequestEmergent RequestFeature: Refactor CSSPage is working fine - CSS needs changes to become consistent with other pagesPage is working fine - CSS needs changes to become consistent with other pagesFeature: Refactor HTMLFeature: Refactor JS / LiquidPage is working fine - JS / Liquid needs changes to become consistent with other pagesPage is working fine - JS / Liquid needs changes to become consistent with other pagesLang: GHAGitHub ActionsGitHub ActionsSkill: feasibilityrole: back end/devOpsTasks for back-end developersTasks for back-end developersrole: front endTasks for front end developersTasks for front end developerssize: 1ptCan be done in 4-6 hoursCan be done in 4-6 hours
Type
Projects
Status
Ice box