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

🔧 Enforce snake case for event type properties #2649

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

amortemousque
Copy link
Contributor

@amortemousque amortemousque commented Mar 14, 2024

Motivation

Events generated by the SDK should have snake_case properties but nothing is checking it.

Changes

Add an eslint rule to check snake_case in **/*Event.types.ts

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@amortemousque amortemousque requested a review from a team as a code owner March 14, 2024 15:56
@amortemousque amortemousque changed the title 🔧 Enforce snake case for event types 🔧 Enforce snake case for event type properties Mar 14, 2024
@amortemousque amortemousque merged commit 00c5606 into main Mar 15, 2024
17 checks passed
@amortemousque amortemousque deleted the aymeric/add-eslint-rule-snake-case-event-type branch March 15, 2024 08:44
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