Rules Reference
All Rules
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
Removes call to debug.profilebegin and debug.profileend
Removes empty do statements
Removes functions call parentheses
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 while statement
Renames variables and function parameters
Unreleased Rules
These rules will be added in the next release: