|
@@ -1,12 +1,12 @@
|
|
|
# This configuration was generated by
|
|
|
# `rubocop --auto-gen-config`
|
|
|
-# on 2019-04-12 18:08:21 +0800 using RuboCop version 0.67.2.
|
|
|
+# on 2019-09-02 13:20:31 +0200 using RuboCop version 0.74.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: 97
|
|
|
+# Offense count: 163
|
|
|
# Cop supports --auto-correct.
|
|
|
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
|
|
Layout/ExtraSpacing:
|
|
@@ -25,25 +25,25 @@ Lint/MissingCopEnableDirective:
|
|
|
- 'lib/import/otrs/user_factory.rb'
|
|
|
- 'lib/import/transaction_factory.rb'
|
|
|
|
|
|
-# Offense count: 469
|
|
|
+# Offense count: 833
|
|
|
Metrics/AbcSize:
|
|
|
Max: 637
|
|
|
|
|
|
-# Offense count: 28
|
|
|
+# Offense count: 29
|
|
|
# Configuration parameters: CountBlocks.
|
|
|
Metrics/BlockNesting:
|
|
|
Max: 5
|
|
|
|
|
|
-# Offense count: 336
|
|
|
+# Offense count: 340
|
|
|
Metrics/CyclomaticComplexity:
|
|
|
Max: 97
|
|
|
|
|
|
-# Offense count: 23
|
|
|
+# Offense count: 27
|
|
|
# Configuration parameters: CountComments.
|
|
|
Metrics/ModuleLength:
|
|
|
Max: 559
|
|
|
|
|
|
-# Offense count: 272
|
|
|
+# Offense count: 274
|
|
|
Metrics/PerceivedComplexity:
|
|
|
Max: 115
|
|
|
|
|
@@ -94,11 +94,18 @@ Rails/HasManyOrHasOneDependent:
|
|
|
- 'app/models/ticket/state_type.rb'
|
|
|
- 'app/models/user.rb'
|
|
|
|
|
|
-# Offense count: 759
|
|
|
+# Offense count: 15
|
|
|
+# Configuration parameters: Include.
|
|
|
+# Include: app/helpers/**/*.rb
|
|
|
+Rails/HelperInstanceVariable:
|
|
|
+ Exclude:
|
|
|
+ - 'app/helpers/knowledge_base_helper.rb'
|
|
|
+
|
|
|
+# Offense count: 808
|
|
|
Style/Documentation:
|
|
|
Enabled: false
|
|
|
|
|
|
-# Offense count: 170
|
|
|
+# Offense count: 172
|
|
|
# Cop supports --auto-correct.
|
|
|
# Configuration parameters: EnforcedStyle.
|
|
|
# SupportedStyles: implicit, explicit
|