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

Turn on protolinting for snake_case #4134

Merged
merged 2 commits into from
Jan 19, 2025
Merged

Turn on protolinting for snake_case #4134

merged 2 commits into from
Jan 19, 2025

Conversation

foot
Copy link
Contributor

@foot foot commented Nov 15, 2023

Breaks out part of #4005 into a small chunk

What changed?

  • Turn on FIELD_NAMES_LOWER_SNAKE_CASE linting
  • Fix up field names so they are all lower case

Why was this change made?

Field names now conform to the snake case style guide we want to follow https://protobuf.dev/programming-guides/style/

How was this change implemented?

Using the -fix flag in the command: protolint lint -fix -config_path=.protolint.yaml ./api

How did you validate the change?

  • ui tests passing
  • BE tests passing

Release notes

Documentation Changes

@foot foot marked this pull request as ready for review November 15, 2023 14:38
@foot foot requested a review from sarataha November 15, 2023 14:38
sarataha
sarataha previously approved these changes Nov 21, 2023
Copy link
Member

@sarataha sarataha left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@erikgb erikgb force-pushed the api-clean-up-snake-case branch from 2364c76 to 5f3bcaf Compare January 18, 2025 20:20
@erikgb erikgb requested a review from casibbald January 18, 2025 20:21
@erikgb erikgb enabled auto-merge (rebase) January 18, 2025 20:21
@erikgb erikgb force-pushed the api-clean-up-snake-case branch from 5f3bcaf to b878b15 Compare January 19, 2025 09:35
@erikgb erikgb merged commit da5cc51 into main Jan 19, 2025
15 checks passed
@erikgb erikgb deleted the api-clean-up-snake-case branch January 19, 2025 10:57
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.

4 participants