11plugins :
22 - rubocop-rspec
33 - rubocop-performance
4+ - rubocop-rake
45
56AllCops :
67 TargetRubyVersion : 3.4
@@ -20,16 +21,17 @@ Style/StringLiterals:
2021Style/StringLiteralsInInterpolation :
2122 EnforcedStyle : single_quotes
2223
24+ # YARD docstrings exist where they add protocol value; blanket top-level
25+ # class/module comments are not required for this gem.
2326Style/Documentation :
2427 Enabled : false
2528
2629Style/FrozenStringLiteralComment :
2730 Enabled : true
2831 EnforcedStyle : always
2932
30- Naming/AccessorMethodName :
31- Enabled : false
32-
33+ # Protocol/runtime objects are intentionally larger than Sandi Metz-style
34+ # service classes; these limits flag outliers without forcing extra indirection.
3335Metrics/MethodLength :
3436 Max : 40
3537
@@ -58,16 +60,20 @@ Metrics/ParameterLists:
5860 Max : 8
5961 CountKeywordArgs : false
6062
63+ # Short names are allowed for narrow protocol ids and tiny block locals.
6164Naming/MethodParameterName :
6265 AllowedNames :
6366 - a
6467 - b
6568 - id
6669 - kw
6770
71+ # Integration specs are organized by protocol scenario first, not by a single
72+ # nested umbrella describe.
6873RSpec/MultipleDescribes :
6974 Enabled : false
7075
76+ # Keep implementation files readable without forcing awkward envelope wrapping.
7177Layout/LineLength :
7278 Max : 110
7379 Exclude :
@@ -76,15 +82,11 @@ Layout/LineLength:
7682RSpec/ExampleLength :
7783 Max : 60
7884
85+ # Some manager command methods return booleans to signal whether a state change
86+ # happened; forcing `?` names there would misrepresent them as pure predicates.
7987Naming/PredicateMethod :
8088 Enabled : false
8189
82- Lint/DuplicateBranch :
83- Enabled : false
84-
85- Style/MultilineBlockChain :
86- Enabled : false
87-
8890RSpec/MultipleExpectations :
8991 Max : 8
9092
@@ -99,6 +101,8 @@ RSpec/DescribeClass:
99101 - ' spec/integration/**/*'
100102 - ' spec/e2e/**/*'
101103
104+ # Specs are grouped by test layer (`unit`, `integration`, `e2e`) instead of
105+ # mirroring the source tree exactly.
102106RSpec/SpecFilePathFormat :
103107 Enabled : false
104108
0 commit comments