Skip to content

Update pre-commit hook JohnnyMorganz/StyLua to v2.6.0 - #81

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/johnnymorganz-stylua-2.x
Oct 12, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/johnnymorganz-stylua-2.x

Conversation

@renovate

@renovate renovate Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
JohnnyMorganz/StyLua repository minor v2.5.2 → v2.6.0

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

JohnnyMorganz/StyLua (JohnnyMorganz/StyLua)

v2.6.0

Compare Source

[2.6.0] - 2026-10-10

Added
  • Luau: Added support for if local / if const condition bindings in both if statements and if expressions (e.g. if local x = getValue() then ... end)
  • Added Input mode for collapse_simple_statement, preserving whether simple statements are single-line or multi-line in the input while still formatting their contents (#​1112)
Fixed
  • Fixed range formatting indenting statements one level too shallow when nested inside a function expression within a table constructor (#​1145)
  • Fixed -- stylua: ignore start/end ranges inside multiline tables reformatting the ignored fields (#​1134)
  • When using range formatting, semicolons outside of the provided range are no longer incorrectly formatted (#​1147)
  • Luau: Fixed sort requires not recognizing imports declared with const, e.g. const Foo = require(path)
  • Luau: Fixed the read/write access modifier merging into the element type in array type shorthand, changing the meaning of the code ({ read Foo } was formatted as { readFoo }) (#​1126)
  • Fixed single-line comments in CRLF files gaining an extra carriage return (\r\r\n) on every format when line_endings = "Windows", and keeping their original \r\n when formatting to Unix line endings (#​1167)

External Contributions

New Contributors

Full Changelog: JohnnyMorganz/StyLua@v2.5.2...v2.6.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot merged commit da4cc8f into main Oct 12, 2026
1 check passed
@renovate
renovate Bot deleted the renovate/johnnymorganz-stylua-2.x branch October 12, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants