.rubocop.yml in resque-scheduler-2.5.5 vs .rubocop.yml in resque-scheduler-3.0.0
- old
+ new
@@ -1,129 +1,34 @@
-# This configuration was generated by `rubocop --auto-gen-config`.
-# The point is for the user to remove these configuration records
-# one by one as the offences are removed from the code base.
+inherit_from: .rubocop_todo.yml
-AccessorMethodName:
- Enabled: false
+AllCops:
+ Include:
+ - Gemfile
+ - '**/Rakefile'
+ - resque-scheduler.gemspec
+ - bin/resque-scheduler
-AlignParameters:
- Enabled: false
-
-AssignmentInCondition:
- Enabled: false
-
-BracesAroundHashParameters:
- Enabled: false
-
+# Offence count: 1
CaseEquality:
Enabled: false
+# Offence count: 2
+# Configuration parameters: CountComments.
ClassLength:
- Max: 325
+ Max: 130
-ClassVars:
- Enabled: false
-
-CollectionMethods:
- Enabled: false
-
-ColonMethodCall:
- Enabled: false
-
-CommentAnnotation:
- Enabled: false
-
+# Offence count: 3
CyclomaticComplexity:
- Max: 28
+ Max: 21
+# Offence count: 29
Documentation:
Enabled: false
-Encoding:
- Enabled: false
-
-FavorUnlessOverNegatedIf:
- Enabled: false
-
-FavorUntilOverNegatedWhile:
- Enabled: false
-
-HandleExceptions:
- Enabled: false
-
-HashSyntax:
- Enabled: false
-
-IfUnlessModifier:
- Enabled: false
-
-IndentationWidth:
- Enabled: false
-
-LineLength:
- Max: 152
-
-Loop:
- Enabled: false
-
-MethodCallParentheses:
- Enabled: false
-
+# Offence count: 17
+# Configuration parameters: CountComments.
MethodLength:
- Max: 180
+ Max: 145
-ModuleFunction:
- Enabled: false
-
-NumericLiterals:
- Enabled: false
-
-ParenthesesAroundCondition:
- Enabled: false
-
-PredicateName:
- Enabled: false
-
-RedundantBegin:
- Enabled: false
-
+# Offence count: 1
RescueException:
- Enabled: false
-
-RescueModifier:
- Enabled: false
-
-SingleLineMethods:
- Enabled: false
-
-SpaceAfterComma:
- Enabled: false
-
-SpaceAroundBlockBraces:
- Enabled: false
-
-SpaceAroundEqualsInParameterDefault:
- Enabled: false
-
-SpaceAroundOperators:
- Enabled: false
-
-SpaceInsideHashLiteralBraces:
- Enabled: false
-
-SpecialGlobalVars:
- Enabled: false
-
-StringLiterals:
- Enabled: false
-
-TrailingBlankLines:
- Enabled: false
-
-TrailingWhitespace:
- Enabled: false
-
-TrivialAccessors:
- Enabled: false
-
-UselessAssignment:
Enabled: false