Skip to content

Commit

Permalink
Match Rubocop TargetRubyVersion with .ruby-version (2.3.3)
Browse files Browse the repository at this point in the history
Since the application refuses to run on anything other than the version
specified in .ruby-version and the Gemfile, there's no reason to
maintain support for earler versions.

Despite what the [Rubocop docs][] say, rubocop is targeting ruby 2.0
when TargetRubyVersion is unspecified.

[Rubocop docs]: https://github.com/bbatsov/rubocop/blob/master/manual/configuration.md#setting-the-target-ruby-version
  • Loading branch information
nilbus committed Mar 19, 2017
1 parent ddba63e commit eec01d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.2
TargetRubyVersion: 2.3
Exclude:
- 'frontend/**/*'
- 'vendor/**/*'
Expand Down

0 comments on commit eec01d7

Please sign in to comment.