You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, this violation is only triggered when all function parameters have the same type: doSomething: func (x: Float, y: Float, z: Float)
--> reduce to (x, y, z: Float)
It should be trigged when there are at least two consecutive parameters of the same type, which would enable this rule for functions that take two or more different types as parameters: doSomething: func (width: Int, height: Int, x: Float, y: Float, z: Float)
--> reduce to (width, height: Int, x, y, z: Float)
The text was updated successfully, but these errors were encountered:
Currently, this violation is only triggered when all function parameters have the same type:
doSomething: func (x: Float, y: Float, z: Float)
-->
reduce to (x, y, z: Float)
It should be trigged when there are at least two consecutive parameters of the same type, which would enable this rule for functions that take two or more different types as parameters:
doSomething: func (width: Int, height: Int, x: Float, y: Float, z: Float)
-->
reduce to (width, height: Int, x, y, z: Float)
The text was updated successfully, but these errors were encountered: