.rubocop.yml in ruby-units-4.0.3 vs .rubocop.yml in ruby-units-4.1.0
- old
+ new
@@ -1,28 +1,32 @@
+inherit_from: .rubocop_todo.yml
+
require:
- rubocop-rake
- rubocop-rspec
AllCops:
NewCops: enable
Exclude:
- ruby-units.gemspec
- bin/*
-Style/CaseEquality:
- Enabled: false
-Style/FrozenStringLiteralComment:
- Enabled: false
+Style/StringLiterals:
+ EnforcedStyle: double_quotes
Layout/LineLength:
Enabled: false
-Style/SingleLineBlockParams:
- Enabled: false
Naming/FileName:
Exclude:
- 'lib/ruby-units.rb'
Naming/MethodParameterName:
Enabled: false
Style/FormatString:
Enabled: false
-Style/DateTime:
- Enabled: false
Metrics/ClassLength:
+ Enabled: false
+Metrics/MethodLength:
+ Enabled: false
+Metrics/CyclomaticComplexity:
+ Enabled: false
+Metrics/PerceivedComplexity:
+ Enabled: false
+Metrics/AbcSize:
Enabled: false