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

Add buf format and make lintfix a dependency of generate #167

Merged
merged 2 commits into from
Mar 25, 2022
Merged

Conversation

bufdev
Copy link
Member

@bufdev bufdev commented Mar 25, 2022

No description provided.

@bufdev bufdev requested a review from akshayjshah March 25, 2022 15:03
Copy link
Member

@akshayjshah akshayjshah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! Love that we have formatting now 😻

I'd prefer not to make lintfix a dependency of the build - it makes it impossible to generate code if there are any invalid Go files around. Can we instead make buf format -d part of lint, just like gofmt, and keep buf format -w part of lintfix?

@akshayjshah
Copy link
Member

@bufdev updated a bit, WDYT?

@bufdev
Copy link
Member Author

bufdev commented Mar 25, 2022

Eh....sure, I'll survive

@bufdev bufdev merged commit e2666fb into main Mar 25, 2022
@bufdev bufdev deleted the buf-format branch March 25, 2022 17:02
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.

3 participants