react/scripts/babel
Jan Kassens 6b30832666
Upgrade prettier (#26081)
The old version of prettier we were using didn't support the Flow syntax
to access properties in a type using `SomeType['prop']`. This updates
`prettier` and `rollup-plugin-prettier` to the latest versions.

I added the prettier config `arrowParens: "avoid"` to reduce the diff
size as the default has changed in Prettier 2.0. The largest amount of
changes comes from function expressions now having a space. This doesn't
have an option to preserve the old behavior, so we have to update this.
2023-01-31 08:25:05 -05:00
..
__tests__ [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
getComments.js Transform updates to support Flow this annotation syntax (#25918) 2023-01-05 15:41:49 -05:00
transform-object-assign.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
transform-prevent-infinite-loops.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
transform-react-version-pragma.js Transform updates to support Flow this annotation syntax (#25918) 2023-01-05 15:41:49 -05:00
transform-replace-console-calls.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
transform-test-gate-pragma.js Transform updates to support Flow this annotation syntax (#25918) 2023-01-05 15:41:49 -05:00