Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pre-commit hook JohnnyMorganz/StyLua to v0.19.0 #47

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 13, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
JohnnyMorganz/StyLua repository minor v0.18.2 -> v0.19.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)

v0.19.0

Compare Source

[0.19.0] - 2023-11-12

Added
  • Added flag --respect-ignores. By default, files explicitly passed to stylua (e.g. stylua foo.lua) will always be formatted, regardless of whether the file is ignored. Enabling this flag will consider .styluaignore or glob matches before formatting the file. (#​765)
    • Note: for backwards compatibility reasons, formatting via stdin always respects ignores. This behaviour will change in the next major release
Changed
  • Updated parser crate with following changes:

    • Support Luau floor division (//)
    • Fix Luau string interpolation parsing
    • Fix Luau \z escape parsing
  • Simplified access and modification patterns for StyLua configuration. You can now access the properties directly

    • Deprecated: the old access patterns of .property() and .with_property() are now deprecated
    • Breaking Change (WASM): due to JS/TS lack of differentiation between .property / .property() implementation, the .property() functions were removed from WASM output.
  • Multiline comments before commas will now remain in place and not move to after the comma. This is to support type-assertions-via-comments that is commonly used by some language servers. (#​778)

Fixed
  • Wasm build now correctly supports configuring sort requires (#​818)

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot merged commit 3b95101 into main Nov 13, 2023
1 check passed
@renovate renovate bot deleted the renovate/johnnymorganz-stylua-0.x branch November 13, 2023 03:51
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