remove_function_call_parens
Added in 0.3.4
This rule will remove parentheses in a function call when there is only one string or one table as arguments. In large Lua programs, this can save several thousand bytes.
Examples
print('hello')
print'hello'
create({ ... })
create{ ... }
Input | Output |
---|---|
|
|
|
|