1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2019-12-30 23:10:34 +0100 using RuboCop version 0.78 .0.
3
+ # on 2025-03-20 17:49:51 UTC using RuboCop version 1.74 .0.
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
+ # Offense count: 1
10
+ # This cop supports safe autocorrection (--autocorrect).
11
+ # Configuration parameters: EnforcedStyleAlignWith, Severity.
12
+ # SupportedStylesAlignWith: start_of_line, begin
13
+ Layout/BeginEndAlignment :
14
+ Exclude :
15
+ - ' test/exception_notifier/webhook_notifier_test.rb'
16
+
17
+ # Offense count: 1
18
+ # This cop supports safe autocorrection (--autocorrect).
19
+ Layout/EmptyLinesAroundMethodBody :
20
+ Exclude :
21
+ - ' test/exception_notifier/slack_notifier_test.rb'
22
+
23
+ # Offense count: 1
24
+ # This cop supports safe autocorrection (--autocorrect).
25
+ Layout/RescueEnsureAlignment :
26
+ Exclude :
27
+ - ' test/exception_notifier/webhook_notifier_test.rb'
28
+
9
29
# Offense count: 4
30
+ # Configuration parameters: AllowedMethods.
31
+ # AllowedMethods: enums
32
+ Lint/ConstantDefinitionInBlock :
33
+ Exclude :
34
+ - ' test/exception_notifier/modules/error_grouping_test.rb'
35
+ - ' test/exception_notifier_test.rb'
36
+
37
+ # Offense count: 5
10
38
Lint/RescueException :
11
39
Exclude :
12
40
- ' lib/exception_notification/rack.rb'
13
41
- ' lib/exception_notification/sidekiq.rb'
14
42
- ' lib/exception_notifier.rb'
15
43
16
- # Offense count: 18
44
+ # Offense count: 19
45
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
17
46
Metrics/AbcSize :
18
- Max : 99
47
+ Max : 102
19
48
20
49
# Offense count: 4
21
- # Configuration parameters: CountComments, ExcludedMethods .
22
- # ExcludedMethods : refine
50
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns .
51
+ # AllowedMethods : refine
23
52
Metrics/BlockLength :
24
- Max : 87
53
+ Max : 68
25
54
26
- # Offense count: 11
27
- # Configuration parameters: CountComments.
55
+ # Offense count: 2
56
+ # Configuration parameters: CountComments, CountAsOne .
28
57
Metrics/ClassLength :
29
- Max : 177
58
+ Max : 155
30
59
31
60
# Offense count: 7
61
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
32
62
Metrics/CyclomaticComplexity :
33
63
Max : 25
34
64
35
- # Offense count: 26
36
- # Configuration parameters: CountComments, ExcludedMethods .
65
+ # Offense count: 24
66
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns .
37
67
Metrics/MethodLength :
38
- Max : 89
68
+ Max : 31
39
69
40
70
# Offense count: 1
41
- # Configuration parameters: CountComments .
42
- Metrics/ModuleLength :
43
- Max : 107
71
+ # Configuration parameters: Max, CountKeywordArgs .
72
+ Metrics/ParameterLists :
73
+ MaxOptionalParameters : 5
44
74
45
75
# Offense count: 6
76
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
46
77
Metrics/PerceivedComplexity :
47
78
Max : 25
48
79
49
- # Offense count: 6
80
+ # Offense count: 3
81
+ # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
82
+ # SupportedStyles: snake_case, normalcase, non_integer
83
+ # AllowedIdentifiers: TLS1_1, TLS1_2, capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
84
+ Naming/VariableNumber :
85
+ Exclude :
86
+ - ' test/exception_notification/rake_test.rb'
87
+
88
+ # Offense count: 3
89
+ # This cop supports safe autocorrection (--autocorrect).
90
+ # Configuration parameters: EnforcedStyle.
91
+ # SupportedStyles: separated, grouped
92
+ Style/AccessorGrouping :
93
+ Exclude :
94
+ - ' lib/exception_notifier/hipchat_notifier.rb'
95
+
96
+ # Offense count: 8
50
97
Style/ClassVars :
51
98
Exclude :
52
99
- ' lib/exception_notifier.rb'
53
100
- ' test/exception_notifier/modules/error_grouping_test.rb'
54
101
- ' test/support/exception_notifier_helper.rb'
55
102
103
+ # Offense count: 1
104
+ # This cop supports safe autocorrection (--autocorrect).
105
+ # Configuration parameters: Keywords, RequireColon.
106
+ # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
107
+ Style/CommentAnnotation :
108
+ Exclude :
109
+ - ' lib/exception_notification/sidekiq.rb'
110
+
111
+ # Offense count: 1
112
+ # This cop supports safe autocorrection (--autocorrect).
113
+ Style/ExpandPathArguments :
114
+ Exclude :
115
+ - ' examples/sinatra/config.ru'
116
+
117
+ # Offense count: 1
118
+ # This cop supports unsafe autocorrection (--autocorrect-all).
119
+ Style/GlobalStdStream :
120
+ Exclude :
121
+ - ' lib/exception_notifier.rb'
122
+
56
123
# Offense count: 2
57
- Style/MethodMissingSuper :
124
+ Style/MissingRespondToMissing :
58
125
Exclude :
59
126
- ' lib/exception_notifier/email_notifier.rb'
60
127
- ' lib/exception_notifier/teams_notifier.rb'
61
128
62
- # Offense count: 2
63
- Style/MissingRespondToMissing :
129
+ # Offense count: 1
130
+ # This cop supports safe autocorrection (--autocorrect).
131
+ Style/RedundantParentheses :
64
132
Exclude :
65
133
- ' lib/exception_notifier/email_notifier.rb'
66
- - ' lib/exception_notifier/teams_notifier.rb'
134
+
135
+ # Offense count: 4
136
+ # This cop supports unsafe autocorrection (--autocorrect-all).
137
+ # Configuration parameters: Mode.
138
+ Style/StringConcatenation :
139
+ Exclude :
140
+ - ' lib/exception_notifier/email_notifier.rb'
141
+ - ' lib/exception_notifier/irc_notifier.rb'
142
+ - ' lib/exception_notifier/sns_notifier.rb'
143
+ - ' lib/exception_notifier/teams_notifier.rb'
0 commit comments