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

[Hackathon2024] Add Sorbet proof-of-concept #11618

Closed
wants to merge 8 commits into from

Conversation

lmgeorge
Copy link
Contributor

Summary

This adds Sorbet type checking to the project.

Notable functional changes

  1. Removed unused :iaa_status ActiveModel relationships
    - Necessary in order to generate the first-party RBI files
    - The table was removed June 2021 from our schema, but the ActiveModel classes were never updated.

RuboCop changes

  1. Sorbet does not support dangling dot operators. The rule has been changed to enforce the new style and all files have been updated.
  2. Added rubocop-tapioca

**Why**
- Reduce wayfinding when consuming data from other parts of the codebase
- Reduce refactoring time for broadly used objects and methods

**How**
- Adds Sorbet and Tapioca and the initially generated stubs and RBI
  files
- Updates the Gemfile with a specific platform

[skip changelog]
@lmgeorge lmgeorge force-pushed the lmgeorge/hackathon/progressive-types-sorbet branch from 2a83c55 to e6717ab Compare December 11, 2024 23:31
@lmgeorge lmgeorge closed this Jan 7, 2025
@lmgeorge lmgeorge changed the title [DO NOT REVIEW] [WIP] Add Sorbet proof-of-concept [Hackathon2024] Add Sorbet proof-of-concept Jan 8, 2025
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.

1 participant