relnotes/v0.46.0.md
Bundler/DuplicatedGem cop. (@jmks)empty_lines_special to Style/EmptyLinesAroundClassBody and Style/EmptyLinesAroundModuleBody. (@legendetm)Style/EmptyMethod cop. (@drenmi)Style/EmptyLiteral will now auto-correct Hash.new when it is the first argument being passed to a method. The arguments will be wrapped with parenthesis. (@rrosenblum)DisabledByDefault in parent configs. (@aroben)Rails/EnumUniqueness checks for duplicate values defined in enum config. (@olliebennett)Rails/EnumUniqueness checks for duplicate values defined in enum config hash. (@olliebennett)require_parentheses_when_complex style to Style/TernaryParentheses cop. (@swcraig)Bundler/OrderedGems cop. (@tdeo)IgnoredPatterns to Metrics/LineLength. (@jonas054)Performance/FlatMap now includes any parameters that are passed to flatten. (@rrosenblum)Style/SpecialGlobalVars messages with a reminder to require 'English'. (@ivanovaleksey)binding.irb call by Lint/Debugger cop. (@pocke)min and max call by Performance/CompareWithBlock cop. (@pocke)Lint/UnneededSplatExpansion when the splat expansion is inside of another array. (@rrosenblum)Style/VariableNumber on variable names ending with an underscore. (@bquorning)Style/TernaryParentheses cop claims to correct uncorrected offenses. (@Ana06)--auto-gen-config behavior for Style/VariableNumber. (@jonas054)format as an acceptable keyword argument for Rails/HttpPositionalArguments. (@aesthetikx)Style/NumericPredicate, don't report x != 0 or x.nonzero? as the expressions have different values. (@jonas054)Style/SpaceInsideBlockBraces. (@rrosenblum)Lint/NonLocalExitFromIterator does not warn about return in a block which is passed to Object#define_singleton_method. (@AlexWayfer)