Skip to content

Commit

Permalink
upgrade RuboCop and configure new rules [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Jul 22, 2022
1 parent bf70107 commit 645e91c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ Lint/RedundantDirGlobSort:
Enabled: true
Lint/RefinementImportMethods:
Enabled: true
Lint/RequireRangeParentheses:
Enabled: true
Lint/RequireRelativeSelfPath:
Enabled: true
Lint/SelfAssignment:
Expand Down Expand Up @@ -306,6 +308,8 @@ Style/Documentation:
Enabled: false # FIXME reenable
Style/DoubleNegation:
Enabled: true
Style/EmptyHeredoc:
Enabled: true
Style/EmptyLiteral:
Enabled: true
Style/EndlessMethod:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ group :lint do
gem 'rubocop-rake', '~> 0.6.0', require: false
gem 'rubocop-rspec', '~> 2.10.0', require: false
else
gem 'rubocop', '~> 1.31.0', require: false
gem 'rubocop', '~> 1.32.0', require: false
gem 'rubocop-rake', '~> 0.6.0', require: false
gem 'rubocop-rspec', '~> 2.12.0', require: false
end
Expand Down

0 comments on commit 645e91c

Please sign in to comment.