11inherit_from : .rubocop_todo.yml
22
3- require :
3+ plugins :
44 - rubocop-packaging
55 - rubocop-performance
6+ - rubocop-rake
67
78AllCops :
89 DisplayCopNames : true
910 DisplayStyleGuide : true
1011 TargetRubyVersion : 3.0
12+ NewCops : enable
1113
1214# Custom config
1315Gemspec/RequireMFA : # we don't know if this works with auto-deployments yet
@@ -32,169 +34,3 @@ Style/DoubleNegation:
3234 Enabled : false
3335Style/IfUnlessModifier :
3436 Enabled : false
35-
36- # New cops
37- Gemspec/DeprecatedAttributeAssignment : # new in 1.30
38- Enabled : true
39- Layout/LineContinuationLeadingSpace : # new in 1.31
40- Enabled : true
41- Layout/LineContinuationSpacing : # new in 1.31
42- Enabled : true
43- Layout/LineEndStringConcatenationIndentation : # new in 1.18
44- Enabled : true
45- Layout/SpaceBeforeBrackets : # new in 1.7
46- Enabled : true
47- Lint/AmbiguousAssignment : # new in 1.7
48- Enabled : true
49- Lint/AmbiguousOperatorPrecedence : # new in 1.21
50- Enabled : true
51- Lint/AmbiguousRange : # new in 1.19
52- Enabled : true
53- Lint/ConstantOverwrittenInRescue : # new in 1.31
54- Enabled : true
55- Lint/DeprecatedConstants : # new in 1.8
56- Enabled : true
57- Lint/DuplicateBranch : # new in 1.3
58- Enabled : true
59- Lint/DuplicateRegexpCharacterClassElement : # new in 1.1
60- Enabled : true
61- Lint/EmptyBlock : # new in 1.1
62- Enabled : true
63- Lint/EmptyClass : # new in 1.3
64- Enabled : true
65- Lint/EmptyInPattern : # new in 1.16
66- Enabled : true
67- Lint/IncompatibleIoSelectWithFiberScheduler : # new in 1.21
68- Enabled : true
69- Lint/LambdaWithoutLiteralBlock : # new in 1.8
70- Enabled : true
71- Lint/NoReturnInBeginEndBlocks : # new in 1.2
72- Enabled : true
73- Lint/NonAtomicFileOperation : # new in 1.31
74- Enabled : true
75- Lint/NumberedParameterAssignment : # new in 1.9
76- Enabled : true
77- Lint/OrAssignmentToConstant : # new in 1.9
78- Enabled : true
79- Lint/RedundantDirGlobSort : # new in 1.8
80- Enabled : true
81- Lint/RefinementImportMethods : # new in 1.27
82- Enabled : true
83- Lint/RequireRangeParentheses : # new in 1.32
84- Enabled : true
85- Lint/RequireRelativeSelfPath : # new in 1.22
86- Enabled : true
87- Lint/SymbolConversion : # new in 1.9
88- Enabled : true
89- Lint/ToEnumArguments : # new in 1.1
90- Enabled : true
91- Lint/TripleQuotes : # new in 1.9
92- Enabled : true
93- Lint/UnexpectedBlockArity : # new in 1.5
94- Enabled : true
95- Lint/UnmodifiedReduceAccumulator : # new in 1.1
96- Enabled : true
97- Lint/UselessRuby2Keywords : # new in 1.23
98- Enabled : true
99- Naming/BlockForwarding : # new in 1.24
100- Enabled : true
101- Security/CompoundHash : # new in 1.28
102- Enabled : true
103- Security/IoMethods : # new in 1.22
104- Enabled : true
105- Style/ArgumentsForwarding : # new in 1.1
106- Enabled : true
107- Style/CollectionCompact : # new in 1.2
108- Enabled : true
109- Style/DocumentDynamicEvalDefinition : # new in 1.1
110- Enabled : true
111- Style/EmptyHeredoc : # new in 1.32
112- Enabled : true
113- Style/EndlessMethod : # new in 1.8
114- Enabled : true
115- Style/EnvHome : # new in 1.29
116- Enabled : true
117- Style/FetchEnvVar : # new in 1.28
118- Enabled : true
119- Style/FileRead : # new in 1.24
120- Enabled : true
121- Style/FileWrite : # new in 1.24
122- Enabled : true
123- Style/HashConversion : # new in 1.10
124- Enabled : true
125- Style/HashExcept : # new in 1.7
126- Enabled : true
127- Style/IfWithBooleanLiteralBranches : # new in 1.9
128- Enabled : true
129- Style/InPatternThen : # new in 1.16
130- Enabled : true
131- Style/MapCompactWithConditionalBlock : # new in 1.30
132- Enabled : true
133- Style/MapToHash : # new in 1.24
134- Enabled : true
135- Style/MultilineInPatternThen : # new in 1.16
136- Enabled : true
137- Style/NegatedIfElseCondition : # new in 1.2
138- Enabled : true
139- Style/NestedFileDirname : # new in 1.26
140- Enabled : true
141- Style/NilLambda : # new in 1.3
142- Enabled : true
143- Style/NumberedParameters : # new in 1.22
144- Enabled : true
145- Style/NumberedParametersLimit : # new in 1.22
146- Enabled : true
147- Style/ObjectThen : # new in 1.28
148- Enabled : true
149- Style/OpenStructUse : # new in 1.23
150- Enabled : true
151- Style/QuotedSymbols : # new in 1.16
152- Enabled : true
153- Style/RedundantArgument : # new in 1.4
154- Enabled : true
155- Style/RedundantInitialize : # new in 1.27
156- Enabled : true
157- Style/RedundantSelfAssignmentBranch : # new in 1.19
158- Enabled : true
159- Style/SelectByRegexp : # new in 1.22
160- Enabled : true
161- Style/StringChars : # new in 1.12
162- Enabled : true
163- Style/SwapValues : # new in 1.1
164- Enabled : true
165- Performance/AncestorsInclude : # new in 1.7
166- Enabled : true
167- Performance/BigDecimalWithNumericArgument : # new in 1.7
168- Enabled : true
169- Performance/BlockGivenWithExplicitBlock : # new in 1.9
170- Enabled : true
171- Performance/CollectionLiteralInLoop : # new in 1.8
172- Enabled : true
173- Performance/ConcurrentMonotonicTime : # new in 1.12
174- Enabled : true
175- Performance/ConstantRegexp : # new in 1.9
176- Enabled : true
177- Performance/MapCompact : # new in 1.11
178- Enabled : true
179- Performance/MethodObjectAsBlock : # new in 1.9
180- Enabled : true
181- Performance/RedundantEqualityComparisonBlock : # new in 1.10
182- Enabled : true
183- Performance/RedundantSortBlock : # new in 1.7
184- Enabled : true
185- Performance/RedundantSplitRegexpArgument : # new in 1.10
186- Enabled : true
187- Performance/RedundantStringChars : # new in 1.7
188- Enabled : true
189- Performance/ReverseFirst : # new in 1.7
190- Enabled : true
191- Performance/SortReverse : # new in 1.7
192- Enabled : true
193- Performance/Squeeze : # new in 1.7
194- Enabled : true
195- Performance/StringIdentifierArgument : # new in 1.13
196- Enabled : true
197- Performance/StringInclude : # new in 1.7
198- Enabled : true
199- Performance/Sum : # new in 1.8
200- Enabled : true
0 commit comments