Skip to content

Commit

Permalink
Remove Rubocop TargetRubyVersion
Browse files Browse the repository at this point in the history
We don't usually use TargetRubyVersion in other extensions:
- https://github.com/solidusio/solidus_auth_devise/blob/4a4f9f213d45b77cead29f45bf5bfd0d2021ab46/.rubocop.yml
- https://github.com/solidusio/solidus_stripe/blob/993a43db00ae15984e505a6a4641db955c0eaf1b/.rubocop.yml

Also, this was causing a lint warning as the version did not match the
minimum Ruby version listed in the gemspec. TargetRubyVersion can't be
2.5 as it's not supported by Rubocop, and thus Rubocop shouldn't ditact
the gem's required version.
  • Loading branch information
RyanofWoods committed Nov 2, 2022
1 parent ea2b54b commit 828f728
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ require:

AllCops:
NewCops: disable
TargetRubyVersion: 2.6

Layout/FirstArgumentIndentation:
EnforcedStyle: consistent
Expand Down

0 comments on commit 828f728

Please sign in to comment.