relnotes/v0.59.0.md
Bundler/GemComment cop. (@sunny)IgnoredMethods option to Style/NumericPredicate cop. (@AlexWayfer)--display-only-fail-level-offenses to only output offenses at or above the fail level. (@robotdana)Style/For. (@rrosenblum)AllowImplicitReturn option to Rails/SaveBang cop. (@robotdana)comparison style to Style/NilComparison. (@khiav223577)Style/MultilineMethodSignature cop. (@drenmi)Performance/ChainArrayAllocation cop. (@schneems)Layout/EmptyLinesAroundClassBody aware of specifying a superclass that breaks the line. (@koic)Style/DateTime not detecting #to_datetime. It can be configured to allow this. (@bdewater)Naming/FileName when Include of AllCops is the default setting. (@koic)Layout/MultilineOperationIndentation. (@jonas054)Layout/ClosingParenthesisIndentation when method arguments are empty with newlines. (@tatsuyafw)Layout/AccessModifierIndentation when using access modifiers with arguments within nested classes. (@gmalette)Style/IfUnlessModifier cop for disabled Layout/Tab cop when there is no IndentationWidth config. (@AlexWayfer)AllowURI option of Metrics/LineLength cop for files with tabs indentation. (@AlexWayfer)Style/UnneededCondition when using operator method higher precedence than ||. (@koic)Lint/ShadowedArgument. (@jonas054)Layout/MultilineHashBraceLayout and Layout/MultilineArrayBraceLayout auto-correct syntax error when there is a comment on the last element. (@bacchir)Style/BracesAroundHashParameters auto-correct syntax error when there is a trailing comma. (@bacchir)Style/RedundantBegin aware of stabby lambdas. (@drenmi)Naming/PredicateName. (@sunny)Style/EmptyCaseCondition when using return in when clause and assigning the return value of case. (@koic)Rails/Delegate. (@sunny)Style/WordArray when setting EnforcedStyle: brackets and using string interpolation in %W literal. (@koic)Lint/RescueEnsureAlignment when end is misaligned. The alignment and message are now based on the beginning position rather than the end position. (@rrosenblum)Date usage in Style/DateTime. (@deivid-rodriguez)Rails/FindEach cop. Makes the cop also check for the following scopes: eager_load, includes, joins, left_joins, left_outer_joins, preload, references, and unscoped. (@repinel)db to allowed names of Naming/UncommunicativeMethodParamName cop in default config. (@mkenyon)Lint/DuplicateMethods to include the method name. (@rrosenblum)rubocop --auto-gen-conf if the todo file is successfully created even if there are offenses. (@MagedMilad)Rails/RelativeDateConstant by default. (@koic)*) to match the hidden file. (@koic)Style/For now highlights the entire statement rather than just the keyword. (@rrosenblum)Performance/CaseWhenSplat and its auto-correction by default. (@rrosenblum)Layout/EmptyLineAfterGuardClause cop by default. (@koic)Style/DateTime has been moved to disabled by default. (@deivid-rodriguez)