Robert Haines
|
d07b36b2e6
|
Fix Style/TernaryParentheses cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
fae95e3c29
|
Fix Style/NumericLiteralPrefix cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
4b8f74042a
|
Fix Layout/EmptyLinesAroundClassBody cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
a187ec0c38
|
Configure Metrics/MethodLength and turn off for the tests.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
a9adfa26d6
|
Configure Metrics/ClassLength and turn off for the tests.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
5ce4e13ddd
|
Configure and fix Style/ClassCheck cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
c97d560b69
|
Configure Metrics/AbcSize and turn off for the tests.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
0e25e63d38
|
Turn off Metrics/BlockLength for the tests.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
6cab5922bc
|
Configure and fix Metrics/LineLength cop.
Set a workable line length for now, and fix a couple of particularly bad
examples.
Also, turn off for the tests.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
0df6cb3059
|
Fix Style/SymbolProc cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
bb3b4474fa
|
Fix Style/SpecialGlobalVars cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
2cbdbf110b
|
Fix Style/SignalException cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
2f993221c0
|
Fix Style/Next cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
7978abb85e
|
Configure Naming/MemoizedInstanceVariableName cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
835843d992
|
Fix Naming/HeredocDelimiterCase cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
2dc9b49568
|
Fix Style/EvalWithLocation cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
d42c66ce2c
|
Fix Style/MultilineWhenThen cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
172ab4b567
|
Fix Style/FloatDivision cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
5e32204ec4
|
Configure Style/MultilineBlockChain cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
41f2359c4b
|
Configure Style/RegexpLiteral cop.
Allow inner slashes when using // for regex literals. Allow the
Guardfile to use a syntax that is more consistent with its own style.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
2dfe092728
|
Fix Style/UnpackFirst cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
4e1b679c73
|
Fix Style/TrailingCommaInArrayLiteral cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
cc0e372351
|
Configure Style/SymbolArray cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
2e11a88fd2
|
Fix Style/StringLiterals cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
45f4c2dc29
|
Fix Style/GuardClause cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
bce841639e
|
Fix Style/MixinUsage cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
1b8f1a6f3c
|
Fix Naming/RescuedExceptionsVariableName cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
3121ad066f
|
Fix Style/Alias cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
468a80ce02
|
Fix Style/IfInsideElse cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
b3f241353a
|
Fix Style/CommentedKeyword cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
b3c4c37882
|
Fix Style/NonNilCheck cop.
Use the `refute_nil` method for most of these.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
5a1baf46ab
|
Fix Style/RedundantReturn cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
19aa7e834c
|
Fix Style/RescueStandardError cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
6544563dd0
|
Configure Style/ZeroLengthPredicate so it doesn't misfire.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
70d036b3ad
|
Fix Style/ExpandPathArguments cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
68259ed7b0
|
Fix Style/Encoding cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
61c83b2a1a
|
Configure Layout/HashAlignment cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
cfe4972e71
|
Fix Layout/EmptyLineAfterGuardClause cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
fff2c41d68
|
Configure Lint/SuppressedException cop.
In the tests we can say "anything goes", but in the main body of the
code we should at least comment if we're not handling an exception
fully.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
0d49421711
|
Fix Lint/UselessAccessModifier cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
23ba1af4fb
|
Fix Lint/RescueException cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
e361a47c8e
|
Configure Lint/UselessComparison cop.
Allow this in entry_test.rb so we can test <=>.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
cd065d0186
|
Fix Lint/UnusedBlockArgument cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
b528cae084
|
Fix Lint/LiteralAsCondition cop.
This fixes Style/InfiniteLoop as a side-effect.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
20743a53b2
|
Fix Lint/AmbiguousBlockAssociation cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
98c6969c18
|
Fix Layout/SpaceAroundOperators cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
e7275dad93
|
Fix Style/BlockDelimiters cop errors.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
3a3ac6feb7
|
Fix Style/Semicolon cop.
|
2020-02-15 16:26:32 +00:00 |
Robert Haines
|
f1154c2eca
|
Fix Style/OrAssignment cop.
|
2020-02-15 15:56:17 +00:00 |
Robert Haines
|
73e405acef
|
Fix Security/Open cop errors.
|
2020-02-15 15:56:17 +00:00 |