relnotes/v1.72.0.md
Lint/CopDirectiveSyntax cop. (@kyanagi)Lint/SuppressedExceptionInNumberConversion cop. (@koic)Lint/RedundantTypeConversion cop. (@dvandersluis)Lint/UselessConstantScoping cop. (@koic)Style/RedundantFormat cop to check for uses of format or sprintf with only a single string argument. (@dvandersluis)InternalAffairs/LocationExists cop to check for code that can be replaced with Node#loc? or Node#loc_is?. (@dvandersluis)inherit_from and require for automatically restart. (@koic)Naming/PredicateName: Optionally use Sorbet to detect predicate methods. (@issyl0)Style/RedundantParentheses when chaining [] method calls. (@koic)Style/RedundantParentheses when [] method is called with variable or constant receivers. (@koic)Style/RedundantParentheses when handling range literals with redundant parentheses. (@koic)Layout/EmptyLinesAroundMethodBody for endless methods. (@dvandersluis)Lint/FormatParameterMismatch when the width value is interpolated. (@dvandersluis)Layout/BlockAlignment for blocks that are the body of an endless method. (@dvandersluis)