forked from zammad/zammad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
106 lines (92 loc) · 2.85 KB
/
.rubocop_todo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-04-12 18:08:21 +0800 using RuboCop version 0.67.2.
# 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
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
Layout/ExtraSpacing:
Enabled: false
# Offense count: 8
# Configuration parameters: MaximumRangeSize.
Lint/MissingCopEnableDirective:
Exclude:
- 'lib/import/factory.rb'
- 'lib/import/helper.rb'
- 'lib/import/otrs/async.rb'
- 'lib/import/otrs/history.rb'
- 'lib/import/otrs/priority_factory.rb'
- 'lib/import/otrs/state_factory.rb'
- 'lib/import/otrs/user_factory.rb'
- 'lib/import/transaction_factory.rb'
# Offense count: 469
Metrics/AbcSize:
Max: 637
# Offense count: 28
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 5
# Offense count: 336
Metrics/CyclomaticComplexity:
Max: 97
# Offense count: 23
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 559
# Offense count: 272
Metrics/PerceivedComplexity:
Max: 115
# Offense count: 3
# Cop supports --auto-correct.
Performance/Casecmp:
Exclude:
- 'app/models/channel/email_parser.rb'
- 'app/models/channel/filter/database.rb'
- 'lib/tasks/zammad/setup/db_config.rake'
# Offense count: 3
# Cop supports --auto-correct.
Rails/ApplicationRecord:
Exclude:
- 'app/models/application_model.rb'
- 'app/models/notification.rb'
- 'app/models/token.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: **/test/**/*
Rails/AssertNot:
Exclude:
- 'test/browser/admin_permissions_granular_vs_full_test.rb'
# Offense count: 13
# Configuration parameters: Include.
# Include: db/migrate/*.rb
Rails/CreateTableWithTimestamps:
Exclude:
- 'db/migrate/20120101000001_create_base.rb'
- 'db/migrate/20120101000010_create_ticket.rb'
- 'db/migrate/20170419000002_overview_role_ids.rb'
- 'db/migrate/20170608151442_enhanced_permissions.rb'
# Offense count: 8
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/HasManyOrHasOneDependent:
Exclude:
- 'app/models/chat/session.rb'
- 'app/models/concerns/has_groups.rb'
- 'app/models/email_address.rb'
- 'app/models/organization.rb'
- 'app/models/signature.rb'
- 'app/models/ticket/state_type.rb'
- 'app/models/user.rb'
# Offense count: 759
Style/Documentation:
Enabled: false
# Offense count: 170
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, explicit
Style/RescueStandardError:
Enabled: false