Download Latest Version stylua-linux-x86_64-musl.zip (3.1 MB)
Email in envelope

Get an email when there's a new version of StyLua

Home / v0.20.0
Name Modified Size InfoDownloads / Week
Parent folder
stylua-win64.zip 2024-01-20 2.6 MB
stylua-windows-x86_64.zip 2024-01-20 2.6 MB
stylua-macos-aarch64.zip 2024-01-20 2.8 MB
stylua-macos.zip 2024-01-20 2.8 MB
stylua-macos-x86_64.zip 2024-01-20 2.8 MB
stylua-linux-aarch64.zip 2024-01-20 3.9 MB
stylua-linux-x86_64-musl.zip 2024-01-20 4.0 MB
stylua-linux-x86_64.zip 2024-01-20 3.9 MB
stylua-linux.zip 2024-01-20 3.9 MB
README.md 2024-01-20 1.8 kB
v0.20.0 source code.tar.gz 2024-01-20 412.9 kB
v0.20.0 source code.zip 2024-01-20 658.7 kB
Totals: 12 Items   30.2 MB 0

[0.20.0] - 2024-01-20

Added

  • Introduced a new release artifact stylua-linux-x86_64-musl (#834)

Changed

  • Files excluded by git (via .gitignore or global git configuration), as well as in an .ignore file (used by ripgrep and The Silver Searcher) will now also be ignored by StyLua (as if they were all .styluaignore files). (#833)

Fixed

General

  • The CLI tool will now only write files if the contents differ, and not modify the file if there is no change after formatting (#827)
  • Fixed function body parentheses being placed on multiple lines unnecessarily when there are no parameters (#830)
  • Fixed directory paths w/o globs in .styluaignore not matching when using --respect-ignores (#845)

Luau

  • Fixed handling of floor division (//) syntax when only Luau command line flag is enabled
  • Fixed missing space when table is inside of Luau interpolated string expression ({{ is invalid syntax)
  • Fixed parentheses around a Luau compound type inside of a type table indexer being removed causing a syntax error (#828)

New Contributors

Full Changelog: https://github.com/JohnnyMorganz/StyLua/compare/v0.19.1...v0.20.0

Source: README.md, updated 2024-01-20