Skip to content

Commit

Permalink
Merge pull request #367 from Shopify/dependabot/bundler/rubocop-1.26.0
Browse files Browse the repository at this point in the history
Bump rubocop from 1.25.1 to 1.26.0
  • Loading branch information
volmer committed Mar 15, 2022
2 parents 7c0b4f2 + bec0d1d commit f604033
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Expand Up @@ -26,13 +26,13 @@ GEM
rake (13.0.6)
regexp_parser (2.2.1)
rexml (3.2.5)
rubocop (1.25.1)
rubocop (1.26.0)
parallel (~> 1.10)
parser (>= 3.1.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.15.1, < 2.0)
rubocop-ast (>= 1.16.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.16.0)
Expand Down
3 changes: 3 additions & 0 deletions rubocop.yml
Expand Up @@ -562,6 +562,9 @@ Style/NegatedIfElseCondition:
Style/NegatedUnless:
Enabled: false

Style/NestedFileDirname:
Enabled: true

Style/NilLambda:
Enabled: false

Expand Down
18 changes: 14 additions & 4 deletions test/fixtures/full_config.yml
Expand Up @@ -182,7 +182,8 @@ Gemspec/OrderedDependencies:
Include:
- "**/*.gemspec"
Gemspec/RequireMFA:
Description: Checks that the gemspec has metadata to require MFA from RubyGems.
Description: Checks that the gemspec has metadata to require Multi-Factor Authentication
from RubyGems.
Enabled: false
VersionAdded: '1.23'
Reference:
Expand Down Expand Up @@ -1284,11 +1285,13 @@ Lint/IneffectiveAccessModifier:
Lint/InheritException:
Description: Avoid inheriting from the `Exception` class.
Enabled: true
SafeAutoCorrect: false
VersionAdded: '0.41'
EnforcedStyle: runtime_error
VersionChanged: '1.26'
EnforcedStyle: standard_error
SupportedStyles:
- runtime_error
- standard_error
- runtime_error
Lint/InterpolationCheck:
Description: Raise warning for interpolation in single q strs.
Enabled: false
Expand Down Expand Up @@ -1436,6 +1439,8 @@ Lint/RedundantDirGlobSort:
Description: Checks for redundant `sort` method to `Dir.glob` and `Dir[]`.
Enabled: false
VersionAdded: '1.8'
VersionChanged: '1.26'
SafeAutoCorrect: false
Lint/RedundantRequireStatement:
Description: Checks for unnecessary `require` statement.
Enabled: false
Expand Down Expand Up @@ -2605,8 +2610,9 @@ Style/For:
Description: Checks use of for or each in multiline loops.
StyleGuide: "#no-for-loops"
Enabled: true
SafeAutoCorrect: false
VersionAdded: '0.13'
VersionChanged: '0.59'
VersionChanged: '1.26'
EnforcedStyle: each
SupportedStyles:
- each
Expand Down Expand Up @@ -3057,6 +3063,10 @@ Style/NegatedWhile:
StyleGuide: "#until-for-negatives"
Enabled: true
VersionAdded: '0.20'
Style/NestedFileDirname:
Description: Checks for nested `File.dirname`.
Enabled: true
VersionAdded: '1.26'
Style/NestedModifier:
Description: Avoid using nested modifiers.
StyleGuide: "#no-nested-modifiers"
Expand Down

0 comments on commit f604033

Please sign in to comment.