Skip to content

chore(linting): Improve Rubocop consistency#287

Merged
groyoh merged 2 commits into
mainfrom
chore/rubocop
Oct 14, 2025
Merged

chore(linting): Improve Rubocop consistency#287
groyoh merged 2 commits into
mainfrom
chore/rubocop

Conversation

@groyoh
Copy link
Copy Markdown
Contributor

@groyoh groyoh commented Oct 14, 2025

Context

The library currently does not depends on Rails so it doesn't make sense to rely on rubocop-rails as it could lead to invalid correction by Rubocop. For instance, it would try to fix Time.now by Time.zone.now which is not available.

Also, we expect this client to work with Ruby 3.1 but the Rubocop configuration actually had not TargetRubyVersion set which could lead to code working locally but breaking on the CI.

Description

This removes rubocop-rails and set TargetRubyVersion to 3.1.

@groyoh groyoh merged commit 4c2e449 into main Oct 14, 2025
5 checks passed
@groyoh groyoh deleted the chore/rubocop branch October 14, 2025 07:13
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.

2 participants