Skip to content

Commit e761ab7

Browse files
committed
Dump config
1 parent a4b7828 commit e761ab7

File tree

1 file changed

+45
-1
lines changed

1 file changed

+45
-1
lines changed

test/fixtures/full_config.yml

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,22 @@ Gemspec/DeprecatedAttributeAssignment:
184184
VersionChanged: '1.40'
185185
Include:
186186
- "**/*.gemspec"
187+
Gemspec/DevelopmentDependencies:
188+
Description: Checks that development dependencies are specified in Gemfile rather
189+
than gemspec.
190+
Enabled: pending
191+
VersionAdded: '1.44'
192+
EnforcedStyle: Gemfile
193+
SupportedStyles:
194+
- Gemfile
195+
- gems.rb
196+
- gemspec
197+
AllowedGems:
198+
- bundler
199+
Include:
200+
- "**/*.gemspec"
201+
- "**/Gemfile"
202+
- "**/gems.rb"
187203
Gemspec/DuplicatedAssignment:
188204
Description: An attribute assignment method calls should be listed only once in
189205
a gemspec.
@@ -1815,6 +1831,10 @@ Lint/UselessMethodDefinition:
18151831
VersionAdded: '0.90'
18161832
VersionChanged: '0.91'
18171833
Safe: false
1834+
Lint/UselessRescue:
1835+
Description: Checks for useless `rescue`s.
1836+
Enabled: pending
1837+
VersionAdded: '1.43'
18181838
Lint/UselessRuby2Keywords:
18191839
Description: Finds unnecessary uses of `ruby2_keywords`.
18201840
Enabled: true
@@ -2536,6 +2556,11 @@ Style/CommentedKeyword:
25362556
SafeAutoCorrect: false
25372557
VersionAdded: '0.51'
25382558
VersionChanged: '1.19'
2559+
Style/ComparableClamp:
2560+
Description: Enforces the use of `Comparable#clamp` instead of comparison by minimum
2561+
and maximum.
2562+
Enabled: pending
2563+
VersionAdded: '1.44'
25392564
Style/ConcatArrayLiterals:
25402565
Description: Enforces the use of `Array#push(item)` instead of `Array#concat([item])`
25412566
to avoid redundant array literals.
@@ -2869,7 +2894,8 @@ Style/HashEachMethods:
28692894
Safe: false
28702895
VersionAdded: '0.80'
28712896
VersionChanged: '1.16'
2872-
AllowedReceivers: []
2897+
AllowedReceivers:
2898+
- Thread.current
28732899
Style/HashExcept:
28742900
Description: Checks for usages of `Hash#reject`, `Hash#select`, and `Hash#filter`
28752901
methods that can be replaced with `Hash#except` method.
@@ -2991,6 +3017,23 @@ Style/InverseMethods:
29913017
InverseBlocks:
29923018
:select: :reject
29933019
:select!: :reject!
3020+
Style/InvertibleUnlessCondition:
3021+
Description: Favor `if` with inverted condition over `unless`.
3022+
Enabled: false
3023+
VersionAdded: '1.44'
3024+
InverseMethods:
3025+
:!=: :==
3026+
:>: :<=
3027+
:<=: :>
3028+
:<: :>=
3029+
:>=: :<
3030+
:!~: :=~
3031+
:zero?: :nonzero?
3032+
:nonzero?: :zero?
3033+
:any?: :none?
3034+
:none?: :any?
3035+
:even?: :odd?
3036+
:odd?: :even?
29943037
Style/IpAddresses:
29953038
Description: Don't include literal IP addresses in code.
29963039
Enabled: false
@@ -4113,6 +4156,7 @@ Style/YodaExpression:
41134156
Enabled: false
41144157
Safe: false
41154158
VersionAdded: '1.42'
4159+
VersionChanged: '1.43'
41164160
SupportedOperators:
41174161
- "*"
41184162
- "+"

0 commit comments

Comments
 (0)