Skip to content

Commit 761d391

Browse files
committed
Drop TargetRubyVersion from RuboCop config
We initially set the targeting for RuboCop here: https://github.com/navapbc/template-application-rails/pull/27/files But RuboCop should automatically pickup the version from `.ruby-version` (or the `Gemfile.lock`)[1], which seems to be working. So drop the redundancy, which will make language updates a bit more automatable. [1]: https://docs.rubocop.org/rubocop/configuration.html#setting-the-target-ruby-version
1 parent 1b8f217 commit 761d391

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

template/{{app_name}}/.rubocop.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@ require:
33
inherit_gem:
44
pundit: config/rubocop-rspec.yml
55
rubocop-rails-omakase: rubocop.yml
6-
AllCops:
7-
TargetRubyVersion: 3.4.2

0 commit comments

Comments
 (0)