Skip to content

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

Merged
oliviertassinari merged 2 commits into
mui:masterfrom
oliviertassinari:remove-duplication
Dec 24, 2024
Merged

[code-infra] Rely more on baseline prettier config#1183
oliviertassinari merged 2 commits into
mui:masterfrom
oliviertassinari:remove-duplication

Conversation

@oliviertassinari
Copy link
Copy Markdown
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.

@mui-bot
Copy link
Copy Markdown

mui-bot commented Dec 19, 2024

Netlify deploy preview

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

Generated by 🚫 dangerJS against d430b8d

Comment thread prettier.config.js Outdated
Signed-off-by: Olivier Tassinari <olivier.tassinari@gmail.com>
@oliviertassinari
Copy link
Copy Markdown
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
@michaldudak michaldudak added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label May 22, 2025
@oliviertassinari oliviertassinari added internal Behind-the-scenes enhancement. Formerly called “core”. and removed core labels Aug 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Behind-the-scenes enhancement. Formerly called “core”. scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants