Sep 11, 2023
version = 1 [[analyzers]] name = "ruby"
Params to the method are passed without parentheses. Presence of some operators, like
&, make the method invocation look ambiguous.
ensureblock detected RB-LI1016
ensure block must not be empty.
BigDecimal.new has been deprecated since BigDecimal 1.3.3 and removed in 2.0.0. Use
BigDecimal() to create new instances of
until should be used at the beginning of the block, and without the
In math and Python, we can use
x < y < z style comparison to compare multiple value. However, we can't use the comparison in Ruby. However, the comparison is not syntax error. This cop checks the bad usage of comparison operators.