hackforla / website

Hack for LA's website
https://www.hackforla.org
GNU General Public License v2.0
286 stars 700 forks source link

ER: Adopting a coding style standard/guideline #6807

Open tony1ee opened 2 weeks ago

tony1ee commented 2 weeks ago

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

Who was involved

@tony1ee @gaylem

What happens if this is not addressed

Resources

Why Prettier Firefox CSS Guidelines VS Code Formatter: TypeScript Airbnb JavaScript Style Guide Google JavaScript Style Guide

Recommended Action Items

Potential solutions [draft]

We can solve this in several steps:

roslynwythe commented 1 week ago

@ExperimentsInHonesty are you interested in making use of a JS style guide in some manner?

roslynwythe commented 1 week ago

Regarding linters - I want to mention that there was some work done on ESLint and eslint:prettier

ExperimentsInHonesty commented 1 week ago

@roslynwythe @tony1ee

@ExperimentsInHonesty are you interested in restarting the discussion around ESLint and prettier?

After all the spelling issues are addressed.

t-will-gillis commented 6 days ago

For future discussion: Since we are talking about linters, here are comments regarding the lint-scss.yml workflow and the github/super-linter