11# This configuration was generated by
22# `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.
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
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+
929# 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
1038Lint/RescueException :
1139 Exclude :
1240 - ' lib/exception_notification/rack.rb'
1341 - ' lib/exception_notification/sidekiq.rb'
1442 - ' lib/exception_notifier.rb'
1543
16- # Offense count: 18
44+ # Offense count: 19
45+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
1746Metrics/AbcSize :
18- Max : 99
47+ Max : 102
1948
2049# Offense count: 4
21- # Configuration parameters: CountComments, ExcludedMethods .
22- # ExcludedMethods : refine
50+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns .
51+ # AllowedMethods : refine
2352Metrics/BlockLength :
24- Max : 87
53+ Max : 68
2554
26- # Offense count: 11
27- # Configuration parameters: CountComments.
55+ # Offense count: 2
56+ # Configuration parameters: CountComments, CountAsOne .
2857Metrics/ClassLength :
29- Max : 177
58+ Max : 155
3059
3160# Offense count: 7
61+ # Configuration parameters: AllowedMethods, AllowedPatterns.
3262Metrics/CyclomaticComplexity :
3363 Max : 25
3464
35- # Offense count: 26
36- # Configuration parameters: CountComments, ExcludedMethods .
65+ # Offense count: 24
66+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns .
3767Metrics/MethodLength :
38- Max : 89
68+ Max : 31
3969
4070# Offense count: 1
41- # Configuration parameters: CountComments .
42- Metrics/ModuleLength :
43- Max : 107
71+ # Configuration parameters: Max, CountKeywordArgs .
72+ Metrics/ParameterLists :
73+ MaxOptionalParameters : 5
4474
4575# Offense count: 6
76+ # Configuration parameters: AllowedMethods, AllowedPatterns.
4677Metrics/PerceivedComplexity :
4778 Max : 25
4879
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
5097Style/ClassVars :
5198 Exclude :
5299 - ' lib/exception_notifier.rb'
53100 - ' test/exception_notifier/modules/error_grouping_test.rb'
54101 - ' test/support/exception_notifier_helper.rb'
55102
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+
56123# Offense count: 2
57- Style/MethodMissingSuper :
124+ Style/MissingRespondToMissing :
58125 Exclude :
59126 - ' lib/exception_notifier/email_notifier.rb'
60127 - ' lib/exception_notifier/teams_notifier.rb'
61128
62- # Offense count: 2
63- Style/MissingRespondToMissing :
129+ # Offense count: 1
130+ # This cop supports safe autocorrection (--autocorrect).
131+ Style/RedundantParentheses :
64132 Exclude :
65133 - ' 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