Closed Hotell closed 2 weeks ago
nx formatFiles is using prettier v3 api (which is async) but we are on prettier v2 which is sync.
formatFiles
While unnecessary await shouldn't cause issues it seems it does.
This PR:
tsConfigBaseAllGenerator
skipFormatting
✅ No changes found
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Previous Behavior
New Behavior
nx
formatFiles
is using prettier v3 api (which is async) but we are on prettier v2 which is sync.While unnecessary await shouldn't cause issues it seems it does.
This PR:
formatFiles
calls within split in two generator to 1tsConfigBaseAllGenerator
api withskipFormatting
configRelated Issue(s)