-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop_todo.yml
86 lines (73 loc) · 2.17 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-02-07 14:23:26 -0500 using RuboCop version 0.36.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: 1
Lint/UselessAssignment:
Exclude:
- 'spec/integration/manager_spec.rb'
# Offense count: 4
Metrics/AbcSize:
Max: 90
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 108
# Offense count: 2
Metrics/CyclomaticComplexity:
Max: 13
# Offense count: 17
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
# URISchemes: http, https
Metrics/LineLength:
Max: 120
# Offense count: 9
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 43
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 113
# Offense count: 2
Metrics/PerceivedComplexity:
Max: 14
# Offense count: 16
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/slack-bot-manager/client/base.rb'
- 'lib/slack-bot-manager/client/commands.rb'
- 'lib/slack-bot-manager/config.rb'
- 'lib/slack-bot-manager/errors.rb'
- 'lib/slack-bot-manager/extend.rb'
- 'lib/slack-bot-manager/logger.rb'
- 'lib/slack-bot-manager/manager/base.rb'
- 'lib/slack-bot-manager/manager/connection.rb'
- 'lib/slack-bot-manager/manager/tokens.rb'
- 'lib/slack-bot-manager/storage.rb'
- 'lib/slack-bot-manager/storage/dalli.rb'
- 'lib/slack-bot-manager/storage/redis.rb'
# Offense count: 1
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
Style/FileName:
Exclude:
- 'lib/slack-bot-manager.rb'
# Offense count: 1
Style/ModuleFunction:
Exclude:
- 'lib/slack-bot-manager/config.rb'
# Offense count: 4
# Cop supports --auto-correct.
Style/RedundantSelf:
Exclude:
- 'lib/slack-bot-manager/config.rb'
# Offense count: 2
# Cop supports --auto-correct.
Style/RescueModifier:
Exclude:
- 'lib/slack-bot-manager/manager/connection.rb'