Kampfkarren / selene

A blazing-fast modern Lua linter written in Rust

Home Page:https://kampfkarren.github.io/selene/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lint for too little number of arguments to UDim2.new

chriscerie opened this issue · comments

Passing in an incorrect number of arguments can indicate that the user meant to use UDim2.fromScale or UDim2.fromOffset.
Even if the user really only needed to pass in a fewer number of arguments to UDim2.new, this lowers readability
as it calls into question whether it's a bug or if the user truly meant it to use UDim2.new.