11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2020-05-26 21:57:54 -0400 using RuboCop version 0.83 .0.
3+ # on 2025-12-20 14:07:10 UTC using RuboCop version 1.82 .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- # Configuration parameters: Include.
11- # Include: **/*.gemspec
12- Gemspec/RequiredRubyVersion :
13- Exclude :
14- - ' rubocop-ast.gemspec'
15-
169# Offense count: 2
1710InternalAffairs/NodeDestructuring :
1811 Exclude :
1912 - ' spec/rubocop/ast/node_pattern_spec.rb'
2013 - ' spec/rubocop/ast/resbody_node_spec.rb'
2114
22- # Offense count: 1
23- # Configuration parameters: CountComments.
24- Metrics/ClassLength :
25- Max : 138
26-
27- # Offense count: 2
28- # Configuration parameters: CountComments, ExcludedMethods.
15+ # Offense count: 16
16+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
2917Metrics/MethodLength :
3018 Max : 13
3119
3220# Offense count: 1
33- # Configuration parameters: CountComments.
21+ # Configuration parameters: CountComments, CountAsOne .
3422Metrics/ModuleLength :
35- Max : 108
23+ Max : 107
3624
3725# Offense count: 1
38- # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
26+ # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
27+ # CheckDefinitionPathHierarchyRoots: lib, spec, test, src
3928# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
4029Naming/FileName :
4130 Exclude :
31+ - ' Rakefile.rb'
4232 - ' lib/rubocop-ast.rb'
4333
4434# Offense count: 1
4535RSpec/BeforeAfterAll :
4636 Exclude :
47- - ' spec/spec_helper.rb'
48- - ' spec/rails_helper.rb'
49- - ' spec/support/**/*.rb'
37+ - ' **/ spec/spec_helper.rb'
38+ - ' **/ spec/rails_helper.rb'
39+ - ' **/ spec/support/**/*.rb'
5040 - ' spec/rubocop/ast/node_spec.rb'
5141
52- # Offense count: 180
53- # Configuration parameters: Prefixes.
42+ # Offense count: 290
43+ # Configuration parameters: Prefixes, AllowedPatterns .
5444# Prefixes: when, with, without
5545RSpec/ContextWording :
5646 Exclude :
@@ -59,44 +49,32 @@ RSpec/ContextWording:
5949 - ' spec/rubocop/ast/float_node_spec.rb'
6050 - ' spec/rubocop/ast/hash_node_spec.rb'
6151 - ' spec/rubocop/ast/int_node_spec.rb'
52+ - ' spec/rubocop/ast/node_pattern/helper.rb'
6253 - ' spec/rubocop/ast/node_pattern_spec.rb'
6354 - ' spec/rubocop/ast/node_spec.rb'
6455 - ' spec/rubocop/ast/processed_source_spec.rb'
6556 - ' spec/rubocop/ast/resbody_node_spec.rb'
6657 - ' spec/rubocop/ast/token_spec.rb'
6758 - ' spec/spec_helper.rb'
68- - ' spec/rubocop/ast/node_pattern/helper.rb'
6959
70- # Offense count: 6
71- # Configuration parameters: Max .
60+ # Offense count: 11
61+ # Configuration parameters: CountAsOne .
7262RSpec/ExampleLength :
73- Exclude :
74- - ' spec/rubocop/ast/node_pattern_spec.rb'
75- - ' spec/rubocop/ast/processed_source_spec.rb'
76- - ' spec/rubocop/ast/send_node_spec.rb'
77- - ' spec/rubocop/ast/node_pattern/parser_spec.rb'
63+ Max : 16
7864
79- # Offense count: 6
65+ # Offense count: 5
8066RSpec/LeakyConstantDeclaration :
8167 Exclude :
8268 - ' spec/rubocop/ast/node_pattern_spec.rb'
83- - ' spec/rubocop/ast/node_spec.rb'
8469
85- # Offense count: 50
70+ # Offense count: 79
8671RSpec/MultipleExpectations :
8772 Max : 5
8873
89- # Offense count: 27
90- # Cop supports --auto-correct.
91- # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
92- # URISchemes: http, https
93- Layout/LineLength :
94- Max : 102
95-
96- # Offense count: 1
97- # This cop supports unsafe autocorrection (--autocorrect-all).
98- # Configuration parameters: EnforcedStyle, AllowModifiersOnSymbols, AllowModifiersOnAttrs.
99- # SupportedStyles: inline, group
100- Style/AccessModifierDeclarations :
74+ # Offense count: 3
75+ # This cop supports safe autocorrection (--autocorrect).
76+ Style/IfUnlessModifier :
10177 Exclude :
78+ - ' lib/rubocop/ast/node_pattern/compiler.rb'
10279 - ' lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb'
80+ - ' tasks/changelog.rb'
0 commit comments