.rubocop_todo.yml in fusuma-2.0.0.pre vs .rubocop_todo.yml in fusuma-2.0.0.pre2
- old
+ new
@@ -1,40 +1,55 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2020-01-07 13:21:56 +0900 using RuboCop version 0.78.0.
+# on 2021-03-28 13:34:27 UTC using RuboCop version 1.10.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
-# Offense count: 5
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
+# URISchemes: http, https
+Layout/LineLength:
+ Max: 104
+
+# Offense count: 9
+# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
- Max: 25
+ Max: 67
-# Offense count: 1
-# Configuration parameters: CountComments.
+# Offense count: 2
+# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
- Max: 101
+ Max: 121
-# Offense count: 8
-# Configuration parameters: CountComments, ExcludedMethods.
+# Offense count: 7
+# Configuration parameters: IgnoredMethods.
+Metrics/CyclomaticComplexity:
+ Max: 12
+
+# Offense count: 24
+# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
- Max: 15
+ Max: 57
+# Offense count: 5
+# Configuration parameters: IgnoredMethods.
+Metrics/PerceivedComplexity:
+ Max: 13
+
+# Offense count: 1
+# Configuration parameters: EnforcedStyleForLeadingUnderscores.
+# SupportedStylesForLeadingUnderscores: disallowed, required, optional
+Naming/MemoizedInstanceVariableName:
+ Exclude:
+ - 'lib/fusuma/plugin/detectors/detector.rb'
+
# Offense count: 3
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/fusuma/plugin/detectors/pinch_detector.rb'
- - 'lib/fusuma/plugin/detectors/rotate_detector.rb'
- - 'lib/fusuma/plugin/detectors/swipe_detector.rb'
-
-# Offense count: 3
-# Cop supports --auto-correct.
-# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
-# SupportedStyles: predicate, comparison
-Style/NumericPredicate:
- Exclude:
- - 'spec/**/*'
- 'lib/fusuma/plugin/detectors/rotate_detector.rb'
- 'lib/fusuma/plugin/detectors/swipe_detector.rb'