11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2026-02-13 03:42:44 UTC using RuboCop version 1.84.2.
3+ # on 2026-02-13 03:44:28 UTC using RuboCop version 1.84.2.
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,10 +20,11 @@ Lint/ConstantDefinitionInBlock:
2020Lint/DuplicateBranch :
2121 Enabled : false
2222
23- # Offense count: 149
23+ # Offense count: 41
2424# This cop supports safe autocorrection (--autocorrect).
2525Lint/DuplicateSetElement :
26- Enabled : false
26+ Exclude :
27+ - ' lib/rouge/lexers/glsl.rb'
2728
2829# Offense count: 3
2930# Configuration parameters: AllowComments, AllowEmptyLambdas.
@@ -55,14 +56,6 @@ Lint/SharedMutableDefault:
5556 Exclude :
5657 - ' lib/rouge/lexers/j.rb'
5758
58- # Offense count: 1
59- # This cop supports safe autocorrection (--autocorrect).
60- # Configuration parameters: EnforcedStyle.
61- # SupportedStyles: strict, consistent
62- Lint/SymbolConversion :
63- Exclude :
64- - ' lib/rouge/lexers/postscript.rb'
65-
6659# Offense count: 1
6760Lint/ToEnumArguments :
6861 Exclude :
@@ -79,23 +72,6 @@ Naming/ConstantName:
7972 - ' lib/rouge/lexers/eiffel.rb'
8073 - ' lib/rouge/themes/gruvbox.rb'
8174
82- # Offense count: 21
83- # This cop supports safe autocorrection (--autocorrect).
84- # Configuration parameters: EnforcedStyle.
85- # SupportedStyles: lowercase, uppercase
86- Naming/HeredocDelimiterCase :
87- Exclude :
88- - ' rouge.gemspec'
89- - ' spec/lexers/diff_spec.rb'
90- - ' spec/lexers/haml_spec.rb'
91- - ' spec/lexers/html_spec.rb'
92- - ' spec/lexers/mason_spec.rb'
93- - ' spec/lexers/matlab_spec.rb'
94- - ' spec/lexers/shell_spec.rb'
95- - ' spec/plugins/redcarpet_spec.rb'
96- - ' spec/theme_spec.rb'
97- - ' spec/visual_spec.rb'
98-
9975# Offense count: 8
10076# Configuration parameters: ForbiddenDelimiters.
10177# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
@@ -186,22 +162,6 @@ Performance/MethodObjectAsBlock:
186162 - ' lib/rouge/lexers/console.rb'
187163 - ' spec/visual/app.rb'
188164
189- # Offense count: 10
190- # This cop supports safe autocorrection (--autocorrect).
191- Performance/RedundantBlockCall :
192- Exclude :
193- - ' lib/rouge/guesser.rb'
194- - ' lib/rouge/lexer.rb'
195- - ' lib/rouge/regex_lexer.rb'
196- - ' lib/rouge/token.rb'
197- - ' lib/rouge/util.rb'
198-
199- # Offense count: 1
200- # This cop supports safe autocorrection (--autocorrect).
201- Performance/RedundantSplitRegexpArgument :
202- Exclude :
203- - ' lib/rouge/guessers/modeline.rb'
204-
205165# Offense count: 12
206166# This cop supports unsafe autocorrection (--autocorrect-all).
207167Performance/StringInclude :
0 commit comments