.rubocop.yml in mopti-0.2.2 vs .rubocop.yml in mopti-0.2.3
- old
+ new
@@ -1,15 +1,26 @@
require:
- rubocop-performance
+ - rubocop-rake
- rubocop-rspec
AllCops:
NewCops: enable
+ DisplayCopNames: true
+ DisplayStyleGuide: true
+ Exclude:
+ - 'ext/**/*'
+ - 'tmp/**/*'
+ - 'vendor/**/*'
+ - 'Steepfile'
+Gemspec/RequiredRubyVersion:
+ Enabled: false
+
Layout/LineLength:
Max: 145
- IgnoredPatterns: ['(\A|\s)#']
+ AllowedPatterns: ['(\A|\s)#']
Metrics/ModuleLength:
Max: 200
Metrics/ClassLength:
@@ -35,5 +46,11 @@
Metrics/ParameterLists:
Enabled: false
Naming/MethodParameterName:
Enabled: false
+
+Style/SlicingWithRange:
+ Enabled: false
+
+RSpec/MultipleMemoizedHelpers:
+ Max: 12