Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rubocop from 1.25.1 to 1.26.0 #367

Merged
merged 1 commit into from Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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