Rules Reference
Append a comment at the start or end of a file Computes expressions statically Convert index expression into field expressions Convert local function definitions to variable declarations Convert require calls from one environment to another Removes unreachable statements following return statements Groups local assignments into a single statement Inject a global variable Removes call to the assert function Removes comments Convert compound assignments into regular assignments Remove continue statements Removes call to debug.profilebegin and debug.profileend Removes empty do statements Removes floor divisions Removes functions call parentheses Remove if expressions Removes interpolated strings (backtick strings) Converts function defined using `:` to use a `.` Removes explicit declaration to `nil` Removes spaces Removes types Removes unused if branch Removes unused variable declarations Removes unused while statement Renames variables and function parameters These rules will be added in the next release:All Rules
Unreleased Rules