microsoft / fluentui

Fluent UI web represents a collection of utilities, React components, and web components for building web applications.
https://react.fluentui.dev
Other
17.87k stars 2.66k forks source link

[Feature]: migrate repo to prettier v3 #31408

Open Hotell opened 2 weeks ago

Hotell commented 2 weeks ago

Library

all

Describe the feature that you would like added

We are running into intermittent issues on CI when invoking prettier.format within our nx workspace generators suite.

Because @nx/devkit formatFiles is using prettier v3 the format call is awaited as v3 switched to async APIs(Breaking Change) but we have pinned prettier version within repo to v2. Now this api inconsistency might be the cause of those intermittent issues.

Task:

Blockers:

Have you discussed this feature with our team

No response

Additional context

No response

Validations

Priority

Normal

Related issues