-
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The context for this is here.
For a more future-proof solution, we should consider implementing a partial formatter mode, which can be told to format only specific line ranges of a file. This way we can extend the conflict-avoiding trick to format all line ranges that aren't touched by recent PRs.
The alternative of just ripping the band-aid off and formatting all files at some point also works, and would be much simpler at the expense of more conflicts. But especially as we change the formatter again over time we'll run into the same problem over and over again, whereas the line range conflict-avoiding trick would enable a smooth mode of operation that almost never causes any churn for other users.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Projects
Status
Approved