Incorrect order of keyword parameters detectedRB-ST1192
For better readability, it is recommended that the optional keyword parameters stay at the end of the parameters list. This is so because when looking through the source, it is expected to find required parameters at the beginning of parameters list and optional parameters at the end.
Bad practice
def some_method(first: false, second:, third: 10)
# do something
end
Recommended
def some_method(second:, first: false, third: 10)
# do something
end