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

[code-infra] Rely more on baseline prettier config #1183

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Dec 19, 2024

Avoid duplication, so we can have more of a shared baseline.

For those who wonder what happened, it originated with #6. We had a similar issue with Pigment CSS, but we fixed it with mui/pigment-css#113.

Off-topic. We will likely need to change how @mui/monorepo/prettier.config is handled and where the source is located, but logic duplication and best logic location are separate problems, e.g. mui/material-ui also has Tailwind CSS in its repo, it should have the plugin too.

@oliviertassinari oliviertassinari added core Infrastructure work going on behind the scenes scope: code-infra Specific to the code-infra product labels Dec 19, 2024
@mui-bot
Copy link

mui-bot commented Dec 19, 2024

Netlify deploy preview

https://deploy-preview-1183--base-ui.netlify.app/

Generated by 🚫 dangerJS against d430b8d

prettier.config.js Outdated Show resolved Hide resolved
Signed-off-by: Olivier Tassinari <[email protected]>
@oliviertassinari oliviertassinari merged commit 5023734 into mui:master Dec 24, 2024
23 checks passed
@oliviertassinari
Copy link
Member Author

oliviertassinari commented Dec 24, 2024

Merging, this seems to be a trivial / no-brainer change.

Upstream opportunity tackled with mui/material-ui#44854 (will help reverse the repository that own code-infra, /base-ui makes more sense to own docs-infra than /mui with the long-term product vision we push)

@oliviertassinari oliviertassinari deleted the remove-duplication branch December 24, 2024 18:50
@oliviertassinari oliviertassinari changed the title [core] Rely more on baseline prettier config [code-infra] Rely more on baseline prettier config Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes scope: code-infra Specific to the code-infra product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants