11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2026-02-13 03:44:28 UTC using RuboCop version 1.84.2 .
3+ # on 2026-02-26 22:49:47 UTC using RuboCop version 1.85.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
@@ -20,12 +20,6 @@ Lint/ConstantDefinitionInBlock:
2020Lint/DuplicateBranch :
2121 Enabled : false
2222
23- # Offense count: 41
24- # This cop supports safe autocorrection (--autocorrect).
25- Lint/DuplicateSetElement :
26- Exclude :
27- - ' lib/rouge/lexers/glsl.rb'
28-
2923# Offense count: 3
3024# Configuration parameters: AllowComments, AllowEmptyLambdas.
3125Lint/EmptyBlock :
@@ -51,21 +45,11 @@ Lint/OutOfRangeRegexpRef:
5145 Exclude :
5246 - ' lib/rouge/tex_theme_renderer.rb'
5347
54- # Offense count: 1
55- Lint/SharedMutableDefault :
56- Exclude :
57- - ' lib/rouge/lexers/j.rb'
58-
5948# Offense count: 1
6049Lint/ToEnumArguments :
6150 Exclude :
6251 - ' lib/rouge/lexer.rb'
6352
64- # Offense count: 1
65- Lint/UselessConstantScoping :
66- Exclude :
67- - ' lib/rouge/formatters/terminal256.rb'
68-
6953# Offense count: 43
7054Naming/ConstantName :
7155 Exclude :
@@ -110,17 +94,6 @@ Naming/MethodName:
11094Naming/MethodParameterName :
11195 Enabled : false
11296
113- # Offense count: 4
114- # Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates.
115- # AllowedMethods: call
116- # WaywardPredicates: infinite?, nonzero?
117- Naming/PredicateMethod :
118- Exclude :
119- - ' lib/rouge/guessers/util.rb'
120- - ' lib/rouge/lexers/javascript.rb'
121- - ' lib/rouge/regex_lexer.rb'
122- - ' spec/visual/app.rb'
123-
12497# Offense count: 40
12598# Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns, ForbiddenIdentifiers, ForbiddenPatterns.
12699# SupportedStyles: snake_case, camelCase
@@ -144,96 +117,10 @@ Naming/VariableNumber:
144117
145118# Offense count: 2
146119# This cop supports unsafe autocorrection (--autocorrect-all).
147- Performance/MapCompact :
148- Exclude :
149- - ' lib/rouge/guessers/glob_mapping.rb'
150- - ' lib/rouge/guessers/modeline.rb'
151-
152- # Offense count: 1
153- Performance/MapMethodChain :
154- Exclude :
155- - ' lib/rouge/regex_lexer.rb'
156-
157- # Offense count: 7
158- Performance/MethodObjectAsBlock :
159- Exclude :
160- - ' lib/rouge/cli.rb'
161- - ' lib/rouge/formatters/tex.rb'
162- - ' lib/rouge/lexers/console.rb'
163- - ' spec/visual/app.rb'
164-
165- # Offense count: 12
166- # This cop supports unsafe autocorrection (--autocorrect-all).
167120Performance/StringInclude :
168121 Exclude :
169- - ' lib/rouge/cli.rb'
170122 - ' lib/rouge/lexers/hack.rb'
171- - ' lib/rouge/lexers/igorpro.rb'
172- - ' lib/rouge/lexers/lua.rb'
173- - ' lib/rouge/lexers/moonscript.rb'
174- - ' spec/formatters/html_pygments_spec.rb'
175- - ' spec/lexers/escape_spec.rb'
176- - ' spec/theme_spec.rb'
177123
178- # Offense count: 5
179- # This cop supports unsafe autocorrection (--autocorrect-all).
180- Performance/UnfreezeString :
181- Exclude :
182- - ' lib/rouge/cli.rb'
183- - ' lib/rouge/formatter.rb'
184- - ' lib/rouge/formatters/terminal_truecolor.rb'
185- - ' lib/rouge/tex_theme_renderer.rb'
186- - ' spec/lexers_spec.rb'
187-
188- # Offense count: 2
189- # This cop supports safe autocorrection (--autocorrect).
190- Rake/Desc :
191- Exclude :
192- - ' Rakefile'
193-
194- # Offense count: 119
124+ # Offense count: 118
195125Rouge/NoBuildingAlternationPatternInRegexp :
196- Exclude :
197- - ' lib/rouge/lexers/apple_script.rb'
198- - ' lib/rouge/lexers/armasm.rb'
199- - ' lib/rouge/lexers/bbcbasic.rb'
200- - ' lib/rouge/lexers/bicep.rb'
201- - ' lib/rouge/lexers/cfscript.rb'
202- - ' lib/rouge/lexers/cmhg.rb'
203- - ' lib/rouge/lexers/console.rb'
204- - ' lib/rouge/lexers/crystal.rb'
205- - ' lib/rouge/lexers/csharp.rb'
206- - ' lib/rouge/lexers/d.rb'
207- - ' lib/rouge/lexers/dart.rb'
208- - ' lib/rouge/lexers/eiffel.rb'
209- - ' lib/rouge/lexers/elm.rb'
210- - ' lib/rouge/lexers/erlang.rb'
211- - ' lib/rouge/lexers/haskell.rb'
212- - ' lib/rouge/lexers/http.rb'
213- - ' lib/rouge/lexers/idris.rb'
214- - ' lib/rouge/lexers/idris.rb'
215- - ' lib/rouge/lexers/isabelle.rb'
216- - ' lib/rouge/lexers/java.rb'
217- - ' lib/rouge/lexers/jsp.rb'
218- - ' lib/rouge/lexers/kotlin.rb'
219- - ' lib/rouge/lexers/lean.rb'
220- - ' lib/rouge/lexers/magik.rb'
221- - ' lib/rouge/lexers/make.rb'
222- - ' lib/rouge/lexers/mason.rb'
223- - ' lib/rouge/lexers/moonscript.rb'
224- - ' lib/rouge/lexers/mosel.rb'
225- - ' lib/rouge/lexers/nix.rb'
226- - ' lib/rouge/lexers/p4.rb'
227- - ' lib/rouge/lexers/pascal.rb'
228- - ' lib/rouge/lexers/perl.rb'
229- - ' lib/rouge/lexers/postscript.rb'
230- - ' lib/rouge/lexers/python.rb'
231- - ' lib/rouge/lexers/r.rb'
232- - ' lib/rouge/lexers/ruby.rb'
233- - ' lib/rouge/lexers/rust.rb'
234- - ' lib/rouge/lexers/scala.rb'
235- - ' lib/rouge/lexers/sml.rb'
236- - ' lib/rouge/lexers/stata.rb'
237- - ' lib/rouge/lexers/vala.rb'
238- - ' lib/rouge/lexers/wollok.rb'
239- - ' lib/rouge/lexers/xojo.rb'
126+ Enabled : false
0 commit comments