.rubocop.yml in smart_initializer-0.3.2 vs .rubocop.yml in smart_initializer-0.4.0
- old
+ new
@@ -3,17 +3,24 @@
- lib/rubocop.general.yml
- lib/rubocop.rake.yml
- lib/rubocop.rspec.yml
AllCops:
- TargetRubyVersion: 2.7.1
+ TargetRubyVersion: 3.0.0
+ NewCops: enable
Include:
- lib/**/*.rb
- spec/**/*.rb
- Gemfile
- Rakefile
- smart_initializer.gemspec
+ - gemfiles/*.gemfile
- bin/console
# NOTE: It is not suitable for infrastracture-level frameworks
Metrics/ParameterLists:
Enabled: false
+
+# NOTE: It is ok to use empty blocks in specs (inside simple test cases)
+Lint/EmptyBlock:
+ Exclude:
+ - spec/**/*.rb