1
1
require :
2
- - ' rubocop-md'
3
2
- ' rubocop/minitest'
4
3
- ' rubocop-thread_safety'
5
4
@@ -11,110 +10,22 @@ inherit_from: .rubocop_todo.yml
11
10
AllCops :
12
11
DisplayCopNames : true # Display the name of the failing cops
13
12
14
- Gemspec/DateAssignment : # new in 1.10
15
- Enabled : true
16
13
Layout/DotPosition :
17
14
Enabled : true
18
15
EnforcedStyle : trailing
19
16
Layout/IndentHeredoc :
20
17
Enabled : false
21
- Layout/LineEndStringConcatenationIndentation : # new in 1.18
22
- Enabled : true
23
- Layout/SpaceBeforeBrackets : # new in 1.7
24
- Enabled : true
25
- Lint/AmbiguousAssignment : # new in 1.7
26
- Enabled : true
27
- Lint/AmbiguousOperatorPrecedence : # new in 1.21
28
- Enabled : true
29
- Lint/AmbiguousRange : # new in 1.19
30
- Enabled : true
31
- Lint/DeprecatedConstants : # new in 1.8
32
- Enabled : true
33
- Lint/DuplicateBranch : # new in 1.3
34
- Enabled : true
35
- Lint/DuplicateRegexpCharacterClassElement : # new in 1.1
36
- Enabled : true
37
- Lint/EmptyBlock : # new in 1.1
38
- Enabled : true
39
- Lint/EmptyClass : # new in 1.3
40
- Enabled : true
41
- Lint/EmptyInPattern : # new in 1.16
42
- Enabled : true
43
- Lint/IncompatibleIoSelectWithFiberScheduler : # new in 1.21
44
- Enabled : true
45
- Lint/LambdaWithoutLiteralBlock : # new in 1.8
46
- Enabled : true
47
- Lint/NoReturnInBeginEndBlocks : # new in 1.2
48
- Enabled : true
49
- Lint/NumberedParameterAssignment : # new in 1.9
50
- Enabled : true
51
- Lint/OrAssignmentToConstant : # new in 1.9
52
- Enabled : true
53
- Lint/RedundantDirGlobSort : # new in 1.8
54
- Enabled : true
55
- Lint/RequireRelativeSelfPath : # new in 1.22
56
- Enabled : true
57
- Lint/SymbolConversion : # new in 1.9
58
- Enabled : true
59
- Lint/ToEnumArguments : # new in 1.1
60
- Enabled : true
61
- Lint/TripleQuotes : # new in 1.9
62
- Enabled : true
63
- Lint/UnexpectedBlockArity : # new in 1.5
64
- Enabled : true
65
- Lint/UnmodifiedReduceAccumulator : # new in 1.1
66
- Enabled : true
67
18
Metrics/BlockLength :
68
- IgnoredMethods :
19
+ ExcludedMethods :
69
20
- context
70
21
- describe
71
22
- it
72
23
- shared_context
73
24
- shared_examples
74
25
- shared_examples_for
75
- Security/IoMethods : # new in 1.22
76
- Enabled : true
77
- Style/ArgumentsForwarding : # new in 1.1
78
- Enabled : true
79
- Style/CollectionCompact : # new in 1.2
80
- Enabled : true
81
- Style/DocumentDynamicEvalDefinition : # new in 1.1
82
- Enabled : true
83
- Style/EndlessMethod : # new in 1.8
84
- Enabled : true
85
- Style/HashConversion : # new in 1.10
86
- Enabled : true
87
- Style/HashExcept : # new in 1.7
88
- Enabled : true
89
- Style/IfWithBooleanLiteralBranches : # new in 1.9
90
- Enabled : true
91
- Style/InPatternThen : # new in 1.16
92
- Enabled : true
93
- Style/MultilineInPatternThen : # new in 1.16
94
- Enabled : true
95
- Style/NegatedIfElseCondition : # new in 1.2
96
- Enabled : true
97
- Style/NilLambda : # new in 1.3
98
- Enabled : true
99
- Style/NumberedParameters : # new in 1.22
100
- Enabled : true
101
- Style/NumberedParametersLimit : # new in 1.22
102
- Enabled : true
103
- Style/QuotedSymbols : # new in 1.16
104
- Enabled : true
105
- Style/RedundantArgument : # new in 1.4
106
- Enabled : true
107
- Style/RedundantSelfAssignmentBranch : # new in 1.19
108
- Enabled : true
109
- Style/SelectByRegexp : # new in 1.22
110
- Enabled : true
111
- Style/StringChars : # new in 1.12
112
- Enabled : true
113
26
Style/StringLiterals :
114
27
Enabled : true
115
28
EnforcedStyle : double_quotes
116
29
Style/StringLiteralsInInterpolation :
117
30
Enabled : true
118
31
EnforcedStyle : double_quotes
119
- Style/SwapValues : # new in 1.1
120
- Enabled : true
0 commit comments