.rubocop.yml in alba-0.9.0 vs .rubocop.yml in alba-0.10.0
- old
+ new
@@ -10,18 +10,47 @@
AllCops:
Exclude:
- 'Rakefile'
- 'alba.gemspec'
NewCops: enable
+ EnabledByDefault: true
+# Oneline comment is not valid so until it gets valid, we disable it
+Bundler/GemComment:
+ Enabled: false
+
+Layout/ClassStructure:
+ Enabled: true
+
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
+Layout/MultilineAssignmentLayout:
+ EnforcedStyle: same_line
+
+Lint/ConstantResolution:
+ Enabled: false
+
Metrics/ClassLength:
Exclude:
- 'test/alba_test.rb'
Metrics/MethodLength:
- Max: 20
+ Max: 15
+Style/ConstantVisibility:
+ Enabled: false
+
+Style/Copyright:
+ Enabled: false
+
+Style/DocumentationMethod:
+ Enabled: false
+
Style/FrozenStringLiteralComment:
+ Enabled: false
+
+Style/InlineComment:
+ Enabled: false
+
+Style/MethodCallWithArgsParentheses:
Enabled: false