Skip to content

Commit

Permalink
Use Ruby 2.7 as a minimum version
Browse files Browse the repository at this point in the history
Summary: We now consider Ruby 2.7 the minimum supported version.

Differential Revision: D65913794

fbshipit-source-id: 12c8704324cc75cd114eb18ee532ca42e03dc0fc
  • Loading branch information
dafyddcrosby authored and facebook-github-bot committed Nov 19, 2024
1 parent ac4b117 commit fddc9e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
AllCops:
DisabledByDefault: true
TargetRubyVersion: 2.5
TargetRubyVersion: 2.7
Exclude:
# template files named `rb` instead of `erb` are a sin against ruby-nature.
- '**/templates/**/*.rb'#
Expand Down Expand Up @@ -1260,8 +1260,9 @@ Style/SingleLineBlockParams:
Style/SingleLineMethods:
Enabled: true

# TODO ratchet in a separate diff
Style/SlicingWithRange:
Enabled: true
Enabled: false

# TODO re-evaluate after chef-workstation upgrade
Style/SoleNestedConditional:
Expand Down

0 comments on commit fddc9e0

Please sign in to comment.