Skip to content

Update dependency prettier-plugin-solidity to v2#1209

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/prettier-plugin-solidity-2.x
Apr 30, 2025
Merged

Update dependency prettier-plugin-solidity to v2#1209
renovate[bot] merged 1 commit intomainfrom
renovate/prettier-plugin-solidity-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 30, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier-plugin-solidity 1.4.3 -> 2.0.0 age adoption passing confidence

Release Notes

prettier-solidity/prettier-plugin-solidity (prettier-plugin-solidity)

v2.0.0

Compare Source

This is a new major version of Prettier Plugin Solidity.

The changes from v1 are minimal, but there are a couple of breaking changes.

The plugin now uses Slang as the parser by default. Slang is a more powerful and correct parser that improves formatting in many edge cases—especially when comments are involved.

If you had the parser explicitly set in your .prettierrc (e.g., "parser": "solidity-parse"), you'll need to update it to:

"parser": "slang"

If you don't have the parser option set in your config, no action is needed.

The old ANTLR-based parser is still supported in v2, but it's deprecated and will be removed in the next major version.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 639373f into main Apr 30, 2025
1 check passed
@renovate renovate Bot deleted the renovate/prettier-plugin-solidity-2.x branch April 30, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants