Skip to content

Commit

Permalink
Vendor rubocop-1.22.3 upstream configuration.
Browse files Browse the repository at this point in the history
Obvious fix; these changes are the result of automation not creative thinking.
  • Loading branch information
tas50 committed Oct 27, 2021
1 parent c2d4081 commit bbd269c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1568,6 +1568,7 @@ Lint/DeprecatedConstants:
Description: 'Checks for deprecated constants.'
Enabled: pending
VersionAdded: '1.8'
VersionChanged: '1.22'
# You can configure deprecated constants.
# If there is an alternative method, you can set alternative value as `Alternative`.
# And you can set the deprecated version as `DeprecatedVersion`.
Expand All @@ -1588,6 +1589,9 @@ Lint/DeprecatedConstants:
'FALSE':
Alternative: 'false'
DeprecatedVersion: '2.4'
'Net::HTTPServerException':
Alternative: 'Net::HTTPClientException'
DeprecatedVersion: '2.6'
'Random::DEFAULT':
Alternative: 'Random.new'
DeprecatedVersion: '3.0'
Expand Down

0 comments on commit bbd269c

Please sign in to comment.