Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

refactor(rome_formatter): Part 4: Move verbatim formatting to rome_formatter #3241

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

MichaReiser
Copy link
Contributor

@MichaReiser MichaReiser commented Sep 16, 2022

This PR is part of the comments refactoring #3227.

This PR moves the logic for formatting a node as verbatim to rome_formatter as it isn't JS specific

It also deletes some of the no longer needed builders like format_inserted, format_parenthesized, and format_delimited (A PR with the replacement will follow soon).

@MichaReiser MichaReiser changed the title refactor(rome_formatter): Move verbatim formatting to rome_formatter refactor(rome_formatter): Part 4: Move verbatim formatting to rome_formatter Sep 16, 2022
This PR moves the logic for formatting a node as `verbatim` to `rome_formatter` as it isn't JS specific
@MichaReiser MichaReiser requested a review from a team September 16, 2022 15:24
@MichaReiser MichaReiser force-pushed the refactor/move-verbatim-to-formatter branch from 36e4367 to be56d34 Compare September 16, 2022 15:24
Base automatically changed from refactor/comment-format-element to refactor/comments September 19, 2022 14:50
@MichaReiser MichaReiser merged commit f064e39 into refactor/comments Sep 19, 2022
@MichaReiser MichaReiser deleted the refactor/move-verbatim-to-formatter branch September 19, 2022 14:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants