[0.11.3] - 2022-01-01
Fixed
- Fixed comments preceding a comma within a function call or parameter list for a function definition being mistransformed leading to a syntax error. (#307)
- Fixed IfExpression having abnormal leading whitespace under the
luau
feature flag. (#315) - Fixed incorrect handling of comments in unusual places within a table causing mistransformations leading to syntax errors. (#318)
What's Changed
- Fix comments preceding commas in function call/definition syntax by @JohnnyMorganz in #310
- Fix clippy issues by @JohnnyMorganz in #320
- Fix overaddition of leading whitespace to if expression by @JohnnyMorganz in #319
- Make available as a pre-commit hook by @IamTheFij in #316
- Switch pre-commit language to Rust so pre-commit can build StyLua from source by @rouge8 in #323
- Handle comments in unusual places for tables by @JohnnyMorganz in #326
- Preserve newlines in between comments from #326 by @JohnnyMorganz in #327
New Contributors
- @IamTheFij made their first contribution in #316
- @rouge8 made their first contribution in #323
Full Changelog: v0.11.2...v0.11.3