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)
- Created by uncomfyhalomacro
- In state accepted
Request History
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 added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
staging-bot added openSUSE:Factory:Staging:adi:7 as a reviewer
Being evaluated by staging project "openSUSE:Factory:Staging:adi:7"
staging-bot accepted review
Picked "openSUSE:Factory:Staging:adi:7"
dimstar accepted review
dimstar_suse accepted review
Staging Project openSUSE:Factory:Staging:adi:7 got accepted.
dimstar_suse approved review
Staging Project openSUSE:Factory:Staging:adi:7 got accepted.
dimstar_suse accepted request
Staging Project openSUSE:Factory:Staging:adi:7 got accepted.