.rubocop.yml in capybara-screenshot-diff-0.10.2 vs .rubocop.yml in capybara-screenshot-diff-0.11.0
- old
+ new
@@ -2,10 +2,12 @@
AllCops:
TargetRubyVersion: 2.2
DisplayCopNames: true
DisplayStyleGuide: true
+ Exclude:
+ - gemfiles/vendor/**/*
Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation
IndentationWidth: 4
@@ -19,13 +21,34 @@
EnforcedStyle: indented
Lint/Debugger:
Enabled: false
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
+# URISchemes: http, https
Metrics/LineLength:
- Max: 110
+ Max: 107
+ IgnoreCopDirectives: true
+# Offense count: 2
+# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
+# AllowedNames: io, id, to
+Naming/UncommunicativeMethodParamName:
+ AllowedNames:
+ - x
+ - y
+
+Security/Eval:
+ Exclude:
+ - gemfiles/*.gemfile
+
+#Style/AccessModifierDeclarations:
+# Enabled: false
+
Style/Documentation:
+ Enabled: false
+
+Style/DoubleNegation:
Enabled: false
Style/NumericPredicate:
Enabled: false