Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aki77 committed Dec 11, 2022
1 parent 7155112 commit 07a0ad6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ruby/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,12 @@ Style/RedundantStringEscape: # new in 1.37
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundanteach
Style/RedundantEach: # new in 1.38
Enabled: true
# https://docs.rubocop.org/rubocop/cops_style.html#stylearrayintersect
Style/ArrayIntersect: # new in 1.40
Enabled: true
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantconstantbase
Style/RedundantConstantBase: # new in 1.40
Enabled: true

# ============================================================
# Lint
Expand Down
2 changes: 1 addition & 1 deletion sgcop.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.9'
spec.add_development_dependency 'debug'
spec.add_dependency 'rubocop', '~> 1.39.0'
spec.add_dependency 'rubocop', '~> 1.40.0'
spec.add_dependency 'rubocop-performance', '~> 1.15.0'
spec.add_dependency 'rubocop-rails', '~> 2.17.0'
spec.add_dependency 'rubocop-rake', '~> 0.6.0'
Expand Down

0 comments on commit 07a0ad6

Please sign in to comment.