Skip to content

Commit 46b9e3c

Browse files
committed
Add pending Lint cops to todo
1 parent 7901bee commit 46b9e3c

File tree

1 file changed

+99
-0
lines changed

1 file changed

+99
-0
lines changed

.rubocop_todo.yml

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ I18n/GetText/DecorateStringFormattingUsingPercent:
2222
I18n/RailsI18n/DecorateString:
2323
Enabled: false
2424

25+
Lint/AmbiguousAssignment: # new in 1.7
26+
Enabled: false
27+
28+
Lint/AmbiguousOperatorPrecedence: # new in 1.21
29+
Enabled: false
30+
31+
Lint/AmbiguousRange: # new in 1.19
32+
Enabled: false
33+
2534
# Configuration parameters: AllowedMethods.
2635
# AllowedMethods: enums
2736
Lint/ConstantDefinitionInBlock:
@@ -42,9 +51,51 @@ Lint/ConstantDefinitionInBlock:
4251
- 'lib/puppet/type/schedule.rb'
4352
- 'lib/puppet/type/tidy.rb'
4453

54+
Lint/ConstantOverwrittenInRescue: # new in 1.31
55+
Enabled: false
56+
57+
Lint/DeprecatedConstants: # new in 1.8
58+
Enabled: false
59+
60+
Lint/DuplicateBranch: # new in 1.3
61+
Enabled: false
62+
63+
Lint/DuplicateMagicComment: # new in 1.37
64+
Enabled: false
65+
66+
Lint/DuplicateMatchPattern: # new in 1.50
67+
Enabled: false
68+
69+
Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
70+
Enabled: false
71+
72+
Lint/EmptyBlock: # new in 1.1
73+
Enabled: false
74+
75+
Lint/EmptyClass: # new in 1.3
76+
Enabled: false
77+
78+
Lint/EmptyInPattern: # new in 1.16
79+
Enabled: false
80+
81+
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
82+
Enabled: false
83+
84+
Lint/ItWithoutArgumentsInBlock: # new in 1.59
85+
Enabled: false
86+
87+
Lint/LambdaWithoutLiteralBlock: # new in 1.8
88+
Enabled: false
89+
90+
Lint/LiteralAssignmentInCondition: # new in 1.58
91+
Enabled: false
92+
4593
Lint/MissingSuper:
4694
Enabled: false
4795

96+
Lint/MixedCaseRange: # new in 1.53
97+
Enabled: false
98+
4899
Lint/NestedMethodDefinition:
49100
Exclude:
50101
- 'lib/puppet/pops/types/p_binary_type.rb'
@@ -59,6 +110,33 @@ Lint/NestedMethodDefinition:
59110
- 'lib/puppet/pops/types/types.rb'
60111
- 'lib/puppet/type.rb'
61112

113+
Lint/NonAtomicFileOperation: # new in 1.31
114+
Enabled: false
115+
116+
Lint/NoReturnInBeginEndBlocks: # new in 1.2
117+
Enabled: false
118+
119+
Lint/NumberedParameterAssignment: # new in 1.9
120+
Enabled: false
121+
122+
Lint/OrAssignmentToConstant: # new in 1.9
123+
Enabled: false
124+
125+
Lint/RedundantDirGlobSort: # new in 1.8
126+
Enabled: false
127+
128+
Lint/RedundantRegexpQuantifiers: # new in 1.53
129+
Enabled: false
130+
131+
Lint/RefinementImportMethods: # new in 1.27
132+
Enabled: false
133+
134+
Lint/RequireRangeParentheses: # new in 1.32
135+
Enabled: false
136+
137+
Lint/RequireRelativeSelfPath: # new in 1.22
138+
Enabled: false
139+
62140
Lint/RescueException:
63141
Exclude:
64142
- 'ext/windows/service/daemon.rb'
@@ -88,18 +166,39 @@ Lint/SuppressedException:
88166
- 'lib/puppet/util/execution.rb'
89167
- 'util/rspec_grouper'
90168

169+
Lint/SymbolConversion: # new in 1.9
170+
Enabled: false
171+
172+
Lint/ToEnumArguments: # new in 1.1
173+
Enabled: false
174+
91175
# This cop supports safe auto-correction (--auto-correct).
92176
Lint/ToJSON:
93177
Exclude:
94178
- 'lib/puppet/module_tool/metadata.rb'
95179
- 'lib/puppet/network/http/error.rb'
96180
- 'lib/puppet/pops/serialization/json.rb'
97181

182+
Lint/TripleQuotes: # new in 1.9
183+
Enabled: false
184+
185+
Lint/UnexpectedBlockArity: # new in 1.5
186+
Enabled: false
187+
188+
Lint/UnmodifiedReduceAccumulator: # new in 1.1
189+
Enabled: false
190+
98191
# This cop supports safe auto-correction (--auto-correct).
99192
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
100193
Lint/UnusedMethodArgument:
101194
Enabled: false
102195

196+
Lint/UselessRescue: # new in 1.43
197+
Enabled: false
198+
199+
Lint/UselessRuby2Keywords: # new in 1.23
200+
Enabled: false
201+
103202
Performance/BlockGivenWithExplicitBlock: # new in 1.9
104203
Enabled: false
105204

0 commit comments

Comments
 (0)