Overview

Request 1093613 accepted

- Update to version 0.18.0:
* Multiline ignores (-- stylua: ignore start / -- stylua: ignore end) will now work within table fields
* Added option "Input" to call_parentheses setting, where call parentheses are retained based on their presence in the original input code.
* Improved heuristics around Luau type excess parentheses removal, so unnecessary parentheses around types are removed in more locations
* Function calls are now formatted onto multiple lines if the opening brace { of a multiline table forces one of the lines over width
* Fixed missing option --sort-requires to enable sort requires on the command line
* Fixed parentheses removed around Luau optional type (B?) causing syntax errors when present in an intersection A & (B?)
* Fixed comments lost when parentheses removed around Luau types
* Fixed race condition where if a file is passed more than once as an argument to format, then it could potentially be wiped completely
(for example, if an ancestor directory is passed and recursively searched, as well as the file itself)

Loading...
Request History
Soc Virnyl Estela's avatar

uncomfyhalomacro created request

- Update to version 0.18.0:
* Multiline ignores (-- stylua: ignore start / -- stylua: ignore end) will now work within table fields
* Added option "Input" to call_parentheses setting, where call parentheses are retained based on their presence in the original input code.
* Improved heuristics around Luau type excess parentheses removal, so unnecessary parentheses around types are removed in more locations
* Function calls are now formatted onto multiple lines if the opening brace { of a multiline table forces one of the lines over width
* Fixed missing option --sort-requires to enable sort requires on the command line
* Fixed parentheses removed around Luau optional type (B?) causing syntax errors when present in an intersection A & (B?)
* Fixed comments lost when parentheses removed around Luau types
* Fixed race condition where if a file is passed more than once as an argument to format, then it could potentially be wiped completely
(for example, if an ancestor directory is passed and recursively searched, as well as the file itself)


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Staging Bot's avatar

staging-bot added openSUSE:Factory:Staging:adi:7 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:7"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Factory:Staging:adi:7"


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:7 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:7 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:7 got accepted.

openSUSE Build Service is sponsored by