.rubocop.yml in hanami-api-0.2.0 vs .rubocop.yml in hanami-api-0.3.0
- old
+ new
@@ -3,8 +3,12 @@
#
# References:
# * https://github.com/bbatsov/ruby-style-guide
# * https://rubocop.readthedocs.io/
inherit_from:
- - https://raw.githubusercontent.com/hanami/devtools/master/.rubocop-unstable.yml
+ - https://raw.githubusercontent.com/hanami/devtools/main/.rubocop.yml
AllCops:
- TargetRubyVersion: 2.7
+ TargetRubyVersion: 3.0
+
+Lint/EmptyBlock:
+ Exclude:
+ - "./spec/integration/hanami/api/block_spec.rb"