relnotes/v0.33.0.md
Style/Send checks for the use of send and instead encourages changing it to BasicObject#__send__ or Object#public_send (disabled by default). (@syndbg)Lint/FormatParameterMismatch checks for a mismatch between the number of fields expected in format/sprintf/% and what was passed to it. (@edmz)space style for SpaceInsideStringInterpolation. (@gotrevor)def, not only visibility modifiers. (@fphilipe)--auto-gen-config now outputs an excluded files list for failed cops (up to a maximum of 15 files). (@bmorrall)--exclude-limit COUNT to configure how many files --auto-gen-config will exclude. (@awwaiid, @jonas054)AllCops:DisabledByDefault when set to true makes only cops found in user configuration enabled, which makes cop selection opt-in. (@jonas054)Performance/StringReplacement checks for usages of gsub that can be replaced with tr or delete. (@rrosenblum)Style/InitialIndentation checks for indentation of the first non-blank non-comment line in a file. (@jonas054)Style/RescueEnsureAlignment checks for bad alignment of rescue and ensure keywords. (@lumeet)Style/OptionalArguments checks for optional arguments that do not appear at the end of an argument list. (@rrosenblum)Lint/CircularArgumentReference checks for "circular argument references" in keyword arguments, which Ruby 2.2 warns against. (@maxjacobson, @sliuu)Style/OptionHash checks for option hashes and encourages changing them to keyword arguments (disabled by default). (@maxjacobson)Style/RescueModifier uses token stream to identify offenses. (@urbanautomaton)Rails/Date and Rails/TimeZone style names to "strict" and "flexible" and make "flexible" to be default. (@palkan)Style/ExtraSpacing is now enabled by default and has a configuration parameter AllowForAlignment that is true by default, making it allow extra spacing if it's used for alignment purposes. (@jonas054)Style/TrivialAccessors to support AllowPredicates: false. (@gotrevor)Style/ParallelAssignment when assigning from Module::CONSTANT. (@rrosenblum)Rails/TimeZone. (@palkan)Rails/Date and Rails/TimeZone when using namespaced Time/Date. (@palkan)Performance/Detect when select is called on Enumerable::Lazy. (@palkan)end in a file with only one method. (@jonas054)Time.current when style is "acceptable". (@palkan)Style/RedundantReturn auto-corrects returning implicit hashes to invalid syntax. (@rrosenblum)Style/BlockDelimiters when a semantic expression is used in an array or a range. (@lumeet)Style/MethodCallParentheses. (@lumeet)Style/IndentationWidth when using private_class_method def self.foo syntax. (@unmanbearpig)Style/FirstParameterIndentation in case of nested offenses. (@unmanbearpig)Style/PercentLiteralDelimiters with escape characters in them. (@rrosenblum)IndentationWidth. (@jonas054)Performance/Count when calling select..count in a class that extends an enumerable. (@rrosenblum)Style/OneLineConditional which should not raise an offense with an 'if/then/end' statement. (@sliuu)