11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2024-10-29 17:01:45 UTC using RuboCop version 1.66.1 .
3+ # on 2025-08-12 16:11:14 UTC using RuboCop version 1.70.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: 2
9+ # Offense count: 1
10+ # This cop supports safe autocorrection (--autocorrect).
11+ # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
12+ # Include: **/*.gemfile, **/Gemfile, **/gems.rb
13+ Bundler/OrderedGems :
14+ Exclude :
15+ - ' dummy/Gemfile'
16+
17+ # Offense count: 1
18+ # Configuration parameters: Severity, Include.
19+ # Include: **/*.gemspec
20+ Gemspec/RequiredRubyVersion :
21+ Exclude :
22+ - ' skylight.gemspec'
23+
24+ # Offense count: 5
1025# This cop supports safe autocorrection (--autocorrect).
11- # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
26+ # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings .
1227# URISchemes: http, https
1328Layout/LineLength :
1429 Exclude :
15- - ' spec/integration/graphql_spec.rb'
30+ - ' lib/skylight/probes/lambda.rb'
31+ - ' spec/integration/delayed_job_spec.rb'
32+ - ' spec/integration/initialization_spec.rb'
1633 - ' spec/unit/custom_instrumentation_spec.rb'
1734
1835# Offense count: 1
@@ -29,14 +46,6 @@ Lint/RedundantCopDisableDirective:
2946 - ' lib/skylight/util/clock.rb'
3047 - ' spec/integration/rails_spec.rb'
3148
32- # Offense count: 1
33- # This cop supports unsafe autocorrection (--autocorrect-all).
34- # Configuration parameters: AllowedMethods.
35- # AllowedMethods: instance_of?, kind_of?, is_a?, eql?, respond_to?, equal?
36- Lint/RedundantSafeNavigation :
37- Exclude :
38- - ' lib/skylight/normalizers/render.rb'
39-
4049# Offense count: 1
4150# This cop supports safe autocorrection (--autocorrect).
4251Lint/RedundantStringCoercion :
@@ -45,11 +54,10 @@ Lint/RedundantStringCoercion:
4554
4655# Offense count: 1
4756# This cop supports safe autocorrection (--autocorrect).
48- # Configuration parameters: EnforcedStyle.
49- # SupportedStyles: strict, consistent
50- Lint/SymbolConversion :
57+ # Configuration parameters: AutoCorrect.
58+ Lint/UselessAssignment :
5159 Exclude :
52- - ' spec/spec_helper .rb'
60+ - ' spec/unit/instrumenter_spec .rb'
5361
5462# Offense count: 2
5563# This cop supports safe autocorrection (--autocorrect).
@@ -77,7 +85,13 @@ Style/ExplicitBlockArgument:
7785 - ' lib/skylight/test.rb'
7886 - ' spec/support/messages/trace.rb'
7987
80- # Offense count: 242
88+ # Offense count: 1
89+ # This cop supports unsafe autocorrection (--autocorrect-all).
90+ Style/FileNull :
91+ Exclude :
92+ - ' lib/skylight/cli/doctor.rb'
93+
94+ # Offense count: 264
8195# This cop supports unsafe autocorrection (--autocorrect-all).
8296# Configuration parameters: EnforcedStyle.
8397# SupportedStyles: always, always_true, never
@@ -94,27 +108,22 @@ Style/HashEachMethods:
94108 - ' lib/skylight/probes/mongo.rb'
95109 - ' lib/tasks/workflow.rake'
96110
97- # Offense count: 3
111+ # Offense count: 4
98112# This cop supports unsafe autocorrection (--autocorrect-all).
99113Style/MapIntoArray :
100114 Exclude :
101115 - ' spec/integration/graphql_spec.rb'
102116 - ' spec/integration/rails_spec.rb'
103117 - ' spec/integration/sinatra_spec.rb'
118+ - ' spec/support/matchers.rb'
104119
105- # Offense count: 7
106- Style/OpenStructUse :
107- Exclude :
108- - ' lib/skylight/cli/merger.rb'
109- - ' spec/unit/cli/merger_spec.rb'
110- - ' spec/unit/extensions/collection_spec.rb'
111- - ' spec/unit/extensions/source_location_spec.rb'
112-
113- # Offense count: 1
120+ # Offense count: 2
114121# This cop supports safe autocorrection (--autocorrect).
115- Style/OperatorMethodCall :
122+ # Configuration parameters: AllowMethodComparison, ComparisonsThreshold.
123+ Style/MultipleComparison :
116124 Exclude :
117- - ' lib/skylight/util/logging.rb'
125+ - ' lib/skylight/instrumenter.rb'
126+ - ' lib/skylight/normalizers/sql.rb'
118127
119128# Offense count: 2
120129# This cop supports safe autocorrection (--autocorrect).
@@ -123,6 +132,13 @@ Style/RedundantRegexpArgument:
123132 - ' lib/skylight/native_ext_fetcher.rb'
124133 - ' lib/skylight/util/http.rb'
125134
135+ # Offense count: 8
136+ # This cop supports safe autocorrection (--autocorrect).
137+ Style/RedundantRegexpEscape :
138+ Exclude :
139+ - ' spec/integration/cli_spec.rb'
140+ - ' spec/unit/cli/setup_spec.rb'
141+
126142# Offense count: 1
127143# This cop supports safe autocorrection (--autocorrect).
128144Style/RedundantStringEscape :
@@ -147,7 +163,17 @@ Style/SafeNavigation:
147163 - ' lib/skylight/probes/net_http.rb'
148164 - ' lib/skylight/util/logging.rb'
149165
150- # Offense count: 2
166+ # Offense count: 4
167+ # This cop supports safe autocorrection (--autocorrect).
168+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
169+ # SupportedStyles: single_quotes, double_quotes
170+ Style/StringLiterals :
171+ Exclude :
172+ - ' dummy/Gemfile'
173+ - ' dummy/config/environment.rb'
174+ - ' dummy/lib/validate_skylight.rb'
175+
176+ # Offense count: 3
151177# This cop supports safe autocorrection (--autocorrect).
152178Style/SuperArguments :
153179 Exclude :
0 commit comments