relnotes/v0.91.0.md
--cache-root and support for the RUBOCOP_CACHE_ROOT environment variable. Both can be used to override the AllCops: CacheRootDirectory config, especially in a CI setting. (@sascha-wolf)Layout/BeginEndAlignment cop. (@koic)Lint/IdentityComparison cop. (@koic)Lint/UselessTimes cop. (@dvandersluis)Lint/ConstantDefinitionInBlock cop. (@eugeneius)Lint/DuplicateRequire when same feature argument but different require method. (@koic)Layout/EmptyLineAfterMultilineCondition when conditional is at the top level. (@fatkodima)Style/RedundantSelfAssignment when calling coercion methods. (@fatkodima)Lint/EmptyFile. (@fatkodima)Lint/UnreachableLoop when conditional branch includes continue statement preceding break statement. (@fatkodima)Style/RedundantParentheses when parentheses are used like method argument parentheses. (@koic)Style/HashTransformKeys and Style/HashTransformValues when the receiver is an array. (@eugeneius)Layout/DefEndAlignment when using refinements and private def. (@koic)Style/ClassAndModuleChildren when using cbase class name. (@koic)Style/SafeNavigation when checking foo&.empty? in a conditional. (@koic)Style/ClassAndModuleChildren when using cbase module name. (@koic)Naming/BinaryOperatorParameterName when naming multibyte character method name. (@koic)Bundler/DuplicatedGem when gem is duplicated in condition. (@tejasbubane)Style/ExplicitBlockArgument when using safe navigation method call. (@koic)Style/HashAsLastArrayItem with no_braces for empty hash. (@fsateler)Style/HashTransformKeys and Style/HashTransformValues when the each_with_object hash is used in the transformed key or value. (@eugeneius)Style/GlobalStdStream as unsafe autocorrection. (@marcandre)Style/SpaceInsideHashLiteralBraces when a correct empty hash precedes the incorrect hash. (@dvandersluis)Lint/UselessMethodDefinition. (@marcandre)Lint/AmbiguousOperator when using safe navigation operator with a unary operator. (@koic)Style/MultilineTernaryOperator when returning a multiline ternary operator expression. (@koic)Style/CaseEquality cop when the receiver is not a camel cased constant. (@koic)--format=json and --stdin options. (@koic)Style/StringConcatenation when parts of the expression are too complex. (@dvandersluis)Lint/UselessMethodDefinition to not register an offense when method definition includes optional arguments. (@fatkodima)Style/HashAsLastArrayItem to not register an offense when all items in an array are hashes. (@dvandersluis)in? to AllowedMethods for Lint/SafeNavigationChain cop. (@tejasbubane)mtime, which changes each CI build. (@dvandersluis)Style/ClassMethodsDefinitions. (@dvandersluis)