Skip to content

Commit

Permalink
Update rubocop and enable new cop
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed May 24, 2021
1 parent 21d5f89 commit 4e46ca8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .rubocop.yml
Expand Up @@ -38,6 +38,9 @@ Style/StringLiteralsInInterpolation:
Enabled: true
EnforcedStyle: 'single_quotes'

Style/TopLevelMethodDefinition:
Enabled: true

Layout/TrailingEmptyLines:
Enabled: true

Expand Down
2 changes: 1 addition & 1 deletion irb-power_assert.gemspec
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'test-unit', '>= 3.4.1', '< 4.0'
gem.add_development_dependency 'warning', '>= 1.2.0', '< 2.0'
gem.add_development_dependency 'rake', '>= 13.0.3', '< 20.0'
gem.add_development_dependency 'rubocop', '>= 1.14.0', '< 1.15.0'
gem.add_development_dependency 'rubocop', '>= 1.15.0', '< 1.16.0'
gem.add_development_dependency 'rubocop-rake', '>= 0.5.1', '< 0.6.0'
gem.add_development_dependency 'rubocop-performance', '>= 1.11.3', '< 1.12.0'
gem.add_development_dependency 'rubocop-rubycw', '>= 0.1.6', '< 0.2.0'
Expand Down

0 comments on commit 4e46ca8

Please sign in to comment.