Skip to content

Do not sort and format stylesheets that didn't change #17824

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

Merged
merged 4 commits into from
Apr 29, 2025

Conversation

RobinMalfait
Copy link
Member

This PR improves the upgrade tooling at tiny bit to make sure that as long as we didn't change any of the stylesheets, that we also don't sort internal nodes and/or format the stylesheet at all.

This is important in case the Prettier rules are different or if a totally different formatter is used.

Essentially, if we didn't have to change the stylesheets because of a migration, we don't want to change it due to a formatter either.

@RobinMalfait RobinMalfait requested a review from a team as a code owner April 29, 2025 16:38
@RobinMalfait RobinMalfait force-pushed the fix/skip-touching-css branch from 547a840 to f07a609 Compare April 29, 2025 16:58
@RobinMalfait RobinMalfait enabled auto-merge (squash) April 29, 2025 17:03
@RobinMalfait RobinMalfait merged commit dbc8023 into main Apr 29, 2025
7 checks passed
@RobinMalfait RobinMalfait deleted the fix/skip-touching-css branch April 29, 2025 17:07
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.

2 participants