It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.69. Its autocorrection is not safe.
- Code
Style/FileTouch
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.24.
- Code
Style/FileWrite
RuboCop enables it by default. It was added in RuboCop 0.72. It is not safe, so it can report false positives.
- Code
Style/FloatDivision
RuboCop enables it by default. It was added in RuboCop 0.13. Its autocorrection is not safe.
- Code
Style/For
RuboCop enables it by default. It was added in RuboCop 0.19.
- Code
Style/FormatString
RuboCop enables it by default. It was added in RuboCop 0.49.
- Code
Style/FormatStringToken
RuboCop enables it by default. It was added in RuboCop 0.89. Its autocorrection is not safe.
- Code
Style/GlobalStdStream
RuboCop enables it by default. It was added in RuboCop 0.13.
- Code
Style/GlobalVars
RuboCop enables it by default. It was added in RuboCop 0.20.
- Code
Style/GuardClause
RuboCop enables it by default. It was added in RuboCop 0.88.
- Code
Style/HashAsLastArrayItem
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.10. Its autocorrection is not safe.
- Code
Style/HashConversion
RuboCop enables it by default. It was added in RuboCop 0.80. It is not safe, so it can report false positives.
- Code
Style/HashEachMethods
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.7. It is not safe, so it can report false positives.
- Code
Style/HashExcept
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.75. It is not safe, so it can report false positives.
- Code
Style/HashFetchChain
RuboCop enables it by default. It was added in RuboCop 0.88.
- Code
Style/HashLikeCase
RuboCop does not enable it by default. It was added in RuboCop 1.84. It is not safe, so it can report false positives.
- Code
Style/HashLookupMethod
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.71. It is not safe, so it can report false positives.
- Code
Style/HashSlice
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/HashSyntax
RuboCop enables it by default. It was added in RuboCop 0.80. It is not safe, so it can report false positives.
- Code
Style/HashTransformKeys
RuboCop enables it by default. It was added in RuboCop 0.80. It is not safe, so it can report false positives.
- Code
Style/HashTransformValues
RuboCop enables it by default. It was added in RuboCop 0.36. Its autocorrection is not safe.
- Code
Style/IdenticalConditionalBranches
RuboCop enables it by default. It was added in RuboCop 0.36.
- Code
Style/IfInsideElse
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/IfUnlessModifier
RuboCop enables it by default. It was added in RuboCop 0.39.
- Code
Style/IfUnlessModifierOfIfUnless
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.9. Its autocorrection is not safe.
- Code
Style/IfWithBooleanLiteralBranches
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/IfWithSemicolon
RuboCop does not enable it by default. It was added in RuboCop 0.41.
- Code
Style/ImplicitRuntimeError
RuboCop enables it by default. It was added in RuboCop 0.26. It is not safe, so it can report false positives.
- Code
Style/InfiniteLoop
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.16.
- Code
Style/InPatternThen
RuboCop enables it by default. It was added in RuboCop 0.48. It is not safe, so it can report false positives.
- Code
Style/InverseMethods
RuboCop does not enable it by default. It was added in RuboCop 1.44. It is not safe, so it can report false positives.
- Code
Style/InvertibleUnlessCondition
RuboCop does not enable it by default. It was added in RuboCop 0.58.
- Code
Style/IpAddresses
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.70.
- Code
Style/ItAssignment
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.75.
- Code
Style/ItBlockParameter
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.68.
- Code
Style/KeywordArgumentsMerging
RuboCop enables it by default. It was added in RuboCop 0.90.
- Code
Style/KeywordParametersOrder
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/Lambda
RuboCop enables it by default. It was added in RuboCop 0.13.
- Code
Style/LambdaCall
RuboCop enables it by default. It was added in RuboCop 0.18. Its autocorrection is not safe.
- Code
Style/LineEndConcatenation
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.30. Its autocorrection is not safe.
- Code
Style/MapCompactWithConditionalBlock
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.63. It is not safe, so it can report false positives.
- Code
Style/MapIntoArray
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.85. It is not safe, so it can report false positives.
- Code
Style/MapJoin
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.24. It is not safe, so it can report false positives.
- Code
Style/MapToHash
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.42. It is not safe, so it can report false positives.
- Code
Style/MapToSet
RuboCop does not enable it by default. It was added in RuboCop 0.14.
- Code
Style/MethodCalledOnDoEndBlock
RuboCop does not enable it by default. It was added in RuboCop 0.47.
- Code
Style/MethodCallWithArgsParentheses
RuboCop enables it by default. It was added in RuboCop 0.47.
- Code
Style/MethodCallWithoutArgsParentheses
RuboCop enables it by default. It was added in RuboCop 0.16.
- Code
Style/MethodDefParentheses
RuboCop enables it by default. It was added in RuboCop 0.50.
- Code
Style/MinMax
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.42. It is not safe, so it can report false positives.
- Code
Style/MinMaxComparison
RuboCop does not enable it by default. It was added in RuboCop 0.30.
- Code
Style/MissingElse
RuboCop enables it by default. It was added in RuboCop 0.56.
- Code
Style/MissingRespondToMissing
RuboCop enables it by default. It was added in RuboCop 0.48.
- Code
Style/MixinGrouping
RuboCop enables it by default. It was added in RuboCop 0.51.
- Code
Style/MixinUsage
RuboCop enables it by default. It was added in RuboCop 0.11. Its autocorrection is not safe.
- Code
Style/ModuleFunction
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.82.
- Code
Style/ModuleMemberExistenceCheck
RuboCop enables it by default. It was added in RuboCop 0.13.
- Code
Style/MultilineBlockChain
RuboCop enables it by default. It was added in RuboCop 0.45.
- Code
Style/MultilineIfModifier
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/MultilineIfThen
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.16.
- Code
Style/MultilineInPatternThen
RuboCop enables it by default. It was added in RuboCop 0.44.
- Code
Style/MultilineMemoization
RuboCop does not enable it by default. It was added in RuboCop 0.59.
- Code
Style/MultilineMethodSignature
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/MultilineTernaryOperator
RuboCop enables it by default. It was added in RuboCop 0.73.
- Code
Style/MultilineWhenThen
RuboCop enables it by default. It was added in RuboCop 0.49.
- Code
Style/MultipleComparison
RuboCop enables it by default. It was added in RuboCop 0.34. Its autocorrection is not safe.
- Code
Style/MutableConstant
RuboCop enables it by default. It was added in RuboCop 0.20.
- Code
Style/NegatedIf
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.2.
- Code
Style/NegatedIfElseCondition
RuboCop enables it by default. It was added in RuboCop 0.69.
- Code
Style/NegatedUnless
RuboCop enables it by default. It was added in RuboCop 0.20.
- Code
Style/NegatedWhile
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.84. It is not safe, so it can report false positives.
- Code
Style/NegativeArrayIndex
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.26.
- Code
Style/NestedFileDirname
RuboCop enables it by default. It was added in RuboCop 0.35.
- Code
Style/NestedModifier
RuboCop enables it by default. It was added in RuboCop 0.36.
- Code
Style/NestedParenthesizedCalls
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/NestedTernaryOperator
RuboCop enables it by default. It was added in RuboCop 0.22.
- Code
Style/Next
RuboCop enables it by default. It was added in RuboCop 0.12.
- Code
Style/NilComparison
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.3.
- Code
Style/NilLambda
RuboCop enables it by default. It was added in RuboCop 0.20.
- Code
Style/NonNilCheck
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/Not
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.22.
- Code
Style/NumberedParameters
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.22.
- Code
Style/NumberedParametersLimit
RuboCop enables it by default. It was added in RuboCop 0.41.
- Code
Style/NumericLiteralPrefix
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/NumericLiterals
RuboCop enables it by default. It was added in RuboCop 0.42. It is not safe, so it can report false positives.
- Code
Style/NumericPredicate
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.28.
- Code
Style/ObjectThen
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.85.
- Code
Style/OneClassPerFile
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/OneLineConditional
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.23. It is not safe, so it can report false positives.
- Code
Style/OpenStructUse
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.37.
- Code
Style/OperatorMethodCall
RuboCop enables it by default. It was added in RuboCop 0.33. It is not safe, so it can report false positives.
- Code
Style/OptionalArguments
RuboCop enables it by default. It was added in RuboCop 0.89. It is not safe, so it can report false positives.
- Code
Style/OptionalBooleanParameter
RuboCop does not enable it by default. It was added in RuboCop 0.33.
- Code
Style/OptionHash
RuboCop enables it by default. It was added in RuboCop 0.50.
- Code
Style/OrAssignment
RuboCop enables it by default. It was added in RuboCop 0.32.
- Code
Style/ParallelAssignment
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/ParenthesesAroundCondition
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.85. It is not safe, so it can report false positives.
- Code
Style/PartitionInsteadOfDoubleSelect
RuboCop enables it by default. It was added in RuboCop 0.19.
- Code
Style/PercentLiteralDelimiters
RuboCop enables it by default. It was added in RuboCop 0.25.
- Code
Style/PercentQLiterals
RuboCop enables it by default. It was added in RuboCop 0.13.
- Code
Style/PerlBackrefs
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.85. Its autocorrection is not safe.
- Code
Style/PredicateWithKind
RuboCop enables it by default. It was added in RuboCop 0.41. It is not safe, so it can report false positives.
- Code
Style/PreferredHashMethods
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/Proc
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.16.
- Code
Style/QuotedSymbols
RuboCop enables it by default. It was added in RuboCop 0.14. It is not safe, so it can report false positives.
- Code
Style/RaiseArgs
RuboCop enables it by default. It was added in RuboCop 0.52.
- Code
Style/RandomWithOffset
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.85. It is not safe, so it can report false positives.
- Code
Style/ReduceToHash
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.4. It is not safe, so it can report false positives.
- Code
Style/RedundantArgument
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.52.
- Code
Style/RedundantArrayConstructor
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.76. It is not safe, so it can report false positives.
- Code
Style/RedundantArrayFlatten
RuboCop enables it by default. It was added in RuboCop 0.87.
- Code
Style/RedundantAssignment
RuboCop enables it by default. It was added in RuboCop 0.10.
- Code
Style/RedundantBegin
RuboCop enables it by default. It was added in RuboCop 0.76.
- Code
Style/RedundantCapitalW
RuboCop enables it by default. It was added in RuboCop 0.76.
- Code
Style/RedundantCondition
RuboCop enables it by default. It was added in RuboCop 0.50.
- Code
Style/RedundantConditional
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.40.
- Code
Style/RedundantConstantBase
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.53.
- Code
Style/RedundantCurrentDirectoryInPath
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.41.
- Code
Style/RedundantDoubleSplatHashBraces
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.38. It is not safe, so it can report false positives.
- Code
Style/RedundantEach
RuboCop enables it by default. It was added in RuboCop 0.14.
- Code
Style/RedundantException
RuboCop enables it by default. It was added in RuboCop 0.86. It is not safe, so it can report false positives.
- Code
Style/RedundantFetchBlock
RuboCop enables it by default. It was added in RuboCop 0.88.
- Code
Style/RedundantFileExtensionInRequire
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.52. Its autocorrection is not safe.
- Code
Style/RedundantFilterChain
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.72. Its autocorrection is not safe.
- Code
Style/RedundantFormat
RuboCop enables it by default. It was added in RuboCop 0.34.
- Code
Style/RedundantFreeze
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.45.
- Code
Style/RedundantHeredocDelimiterQuotes
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.27. It is not safe, so it can report false positives.
- Code
Style/RedundantInitialize
RuboCop enables it by default. It was added in RuboCop 0.76. Its autocorrection is not safe.
- Code
Style/RedundantInterpolation
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.66.
- Code
Style/RedundantInterpolationUnfreeze
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.49.
- Code
Style/RedundantLineContinuation
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.85.
- Code
Style/RedundantMinMaxBy
RuboCop enables it by default. It was added in RuboCop 0.36.
- Code
Style/RedundantParentheses
RuboCop enables it by default. It was added in RuboCop 0.76.
- Code
Style/RedundantPercentQ
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.53.
- Code
Style/RedundantRegexpArgument
RuboCop enables it by default. It was added in RuboCop 0.85.
- Code
Style/RedundantRegexpCharacterClass
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.52.
- Code
Style/RedundantRegexpConstructor
RuboCop enables it by default. It was added in RuboCop 0.85.
- Code
Style/RedundantRegexpEscape
RuboCop enables it by default. It was added in RuboCop 0.10.
- Code
Style/RedundantReturn
RuboCop enables it by default. It was added in RuboCop 0.10.
- Code
Style/RedundantSelf
RuboCop enables it by default. It was added in RuboCop 0.90. It is not safe, so it can report false positives.
- Code
Style/RedundantSelfAssignment
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.19.
- Code
Style/RedundantSelfAssignmentBranch
RuboCop enables it by default. It was added in RuboCop 0.76. It is not safe, so it can report false positives.
- Code
Style/RedundantSort
RuboCop enables it by default. It was added in RuboCop 0.36.
- Code
Style/RedundantSortBy
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.37.
- Code
Style/RedundantStringEscape
RuboCop does not enable it by default. It was added in RuboCop 1.85. Its autocorrection is not safe.
- Code
Style/RedundantStructKeywordInit
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/RegexpLiteral
RuboCop does not enable it by default. It was added in RuboCop 1.40. Its autocorrection is not safe.
- Code
Style/RequireOrder
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/RescueModifier
RuboCop enables it by default. It was added in RuboCop 0.52.
- Code
Style/RescueStandardError
RuboCop does not enable it by default. It was added in RuboCop 0.50.
- Code
Style/ReturnNil
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.53. Its autocorrection is not safe.
- Code
Style/ReturnNilInPredicateMethodDefinition
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.84. It is not safe, so it can report false positives.
- Code
Style/ReverseFind
RuboCop enables it by default. It was added in RuboCop 0.43. Its autocorrection is not safe.
- Code
Style/SafeNavigation
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.68.
- Code
Style/SafeNavigationChainLength
RuboCop enables it by default. It was added in RuboCop 0.30.
- Code
Style/Sample
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.85. Its autocorrection is not safe.
- Code
Style/SelectByKind
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.85. Its autocorrection is not safe.
- Code
Style/SelectByRange
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.22. Its autocorrection is not safe.
- Code
Style/SelectByRegexp
RuboCop enables it by default. It was added in RuboCop 0.19.
- Code
Style/SelfAssignment
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/Semicolon
RuboCop does not enable it by default. It was added in RuboCop 0.33.
- Code
Style/Send
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.64. It is not safe, so it can report false positives.
- Code
Style/SendWithLiteralMethodName
RuboCop enables it by default. It was added in RuboCop 0.11.
- Code
Style/SignalException
RuboCop enables it by default. It was added in RuboCop 0.89. It is not safe, so it can report false positives.
- Code
Style/SingleArgumentDig
RuboCop does not enable it by default. It was added in RuboCop 0.16.
- Code
Style/SingleLineBlockParams
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.57.
- Code
Style/SingleLineDoEndBlock
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/SingleLineMethods
RuboCop enables it by default. It was added in RuboCop 0.83. It is not safe, so it can report false positives.
- Code
Style/SlicingWithRange
RuboCop enables it by default. It was added in RuboCop 0.89.
- Code
Style/SoleNestedConditional
RuboCop enables it by default. It was added in RuboCop 0.13. Its autocorrection is not safe.
- Code
Style/SpecialGlobalVars
RuboCop enables it by default. It was added in RuboCop 0.35.
- Code
Style/StabbyLambdaParentheses
RuboCop does not enable it by default. It was added in RuboCop 1.3. It is not safe, so it can report false positives.
- Code
Style/StaticClass
RuboCop enables it by default. It was added in RuboCop 0.51.
- Code
Style/StderrPuts
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.12. It is not safe, so it can report false positives.
- Code
Style/StringChars
RuboCop enables it by default. It was added in RuboCop 0.89. It is not safe, so it can report false positives.
- Code
Style/StringConcatenation
RuboCop does not enable it by default. It was added in RuboCop 0.52. It is not safe, so it can report false positives.
- Code
Style/StringHashKeys
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/StringLiterals
RuboCop enables it by default. It was added in RuboCop 0.27.
- Code
Style/StringLiteralsInInterpolation
RuboCop does not enable it by default. It was added in RuboCop 0.34.
- Code
Style/StringMethods
RuboCop enables it by default. It was added in RuboCop 0.36.
- Code
Style/Strip
RuboCop enables it by default. It was added in RuboCop 0.29. Its autocorrection is not safe.
- Code
Style/StructInheritance
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.64.
- Code
Style/SuperArguments
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.58.
- Code
Style/SuperWithArgsParentheses
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.1. Its autocorrection is not safe.
- Code
Style/SwapValues
RuboCop enables it by default. It was added in RuboCop 0.9.
- Code
Style/SymbolArray
RuboCop enables it by default. It was added in RuboCop 0.30.
- Code
Style/SymbolLiteral
RuboCop enables it by default. It was added in RuboCop 0.26. It is not safe, so it can report false positives.
- Code
Style/SymbolProc
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.85. It is not safe, so it can report false positives.
- Code
Style/TallyMethod
RuboCop enables it by default. It was added in RuboCop 0.42.
- Code
Style/TernaryParentheses
It is a pending cop, so RuboCop enables it only when the configuration turns on new cops. It was added in RuboCop 1.90.
- Code
Style/TimeNow
RuboCop does not enable it by default. It was added in RuboCop 1.15.
- Code
Style/TopLevelMethodDefinition
RuboCop enables it by default. It was added in RuboCop 0.53.
- Code
Style/TrailingBodyOnClass
RuboCop enables it by default. It was added in RuboCop 0.52.
- Code
Style/TrailingBodyOnMethodDefinition
RuboCop enables it by default. It was added in RuboCop 0.53.
- Code
Style/TrailingBodyOnModule
RuboCop enables it by default. It was added in RuboCop 0.36.
- Code
Style/TrailingCommaInArguments
RuboCop enables it by default. It was added in RuboCop 0.53.
- Code
Style/TrailingCommaInArrayLiteral
RuboCop does not enable it by default. It was added in RuboCop 0.81. It is not safe, so it can report false positives.
- Code
Style/TrailingCommaInBlockArgs