.rubocop.yml in config-factory-0.0.9 vs .rubocop.yml in config-factory-0.1.0
- old
+ new
@@ -1,24 +1,28 @@
-# Disable compact style check for example.rb
-Style/ClassAndModuleChildren:
- Exclude:
- - 'example.rb'
-
# Disable line-length check; it's too easy for the cure to be worse than the disease
Metrics/LineLength:
Enabled: False
# Disable problematic module documentation check (see https://github.com/bbatsov/rubocop/issues/947)
Style/Documentation:
Enabled: false
-# Allow one line around class body (Style/EmptyLines will still disallow two or more)
-Style/EmptyLinesAroundClassBody:
+# Allow one line around class body (Layout/EmptyLines will still disallow two or more)
+Layout/EmptyLinesAroundClassBody:
Enabled: false
-# Allow one line around module body (Style/EmptyLines will still disallow two or more)
-Style/EmptyLinesAroundModuleBody:
+# Allow one line around module body (Layout/EmptyLines will still disallow two or more)
+Layout/EmptyLinesAroundModuleBody:
Enabled: false
-# Allow one line around block body (Style/EmptyLines will still disallow two or more)
-Style/EmptyLinesAroundBlockBody:
+# Allow one line around block body (Layout/EmptyLines will still disallow two or more)
+Layout/EmptyLinesAroundBlockBody:
Enabled: false
+
+# Disable some style checks for sample code
+Style/ClassAndModuleChildren:
+ Exclude:
+ - 'example.rb'
+
+Style/MixinUsage:
+ Exclude:
+ - 'example.rb'