Skip to content
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

Format codebase with laravel/pint (Followup to #4921) #4922

Closed
wants to merge 9 commits into from

Conversation

jippi
Copy link
Contributor

@jippi jippi commented Feb 11, 2024

Followup to #4921 with laravel/pint formatting applied.

Having a strong, consistent, and automated formatter is important for consistency and ease of contribution.

It makes code more readable, and thus easier to maintain and contribute to.

This matters as code is read much more frequently than it's written, and it significantly lowers the cognitive load of navigating the code base.

I picked pint because this is a Laravel project, so using the Laravel formatter seemed optimal, but I don't care too deeply about which one is used at the end of the day.

Any ongoing PRs should have minimal interruption / merge conflicts if they apply pint formatting in their own commit and then pull in staging on top of it.

NOTE If this approach is fine, I will rebase before merging, as it right now will keep causing conflicts

@jippi jippi mentioned this pull request Feb 11, 2024
@jippi jippi changed the base branch from dev to staging February 11, 2024 18:22
@dansup
Copy link
Member

dansup commented Feb 16, 2024

As discussed on Discord, this PR is way too big and I have a plan to incorporate proper code style formatting that is in the works!

@dansup dansup closed this Feb 16, 2024
@jippi jippi deleted the jippi/format-with-pint branch February 16, 2024 14:40
@jippi
Copy link
Contributor Author

jippi commented Feb 16, 2024

This is "proper code style formatting" though? :) using Laravels' own code style - there are no changes in the PR beyond formatting (intentionally so)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants