react/packages/shared
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__ Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
forks Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
CheckStringCoercion.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
ConsolePatchingDev.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
ExecutionEnvironment.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
ReactComponentStackFrame.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
ReactDOMSharedInternals.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
ReactElementType.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
ReactErrorUtils.js [flow] enable enforce_local_inference_annotations (#25921) 2023-01-09 15:46:48 -05:00
ReactFeatureFlags.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
ReactInstanceMap.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
ReactServerContextRegistry.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
ReactSharedInternals.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
ReactSymbols.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
ReactTypes.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
ReactVersion.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
assign.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
checkPropTypes.js [flow] enable exact_empty_objects (#25973) 2023-01-09 17:00:36 -05:00
consoleWithStackDev.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
enqueueTask.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
formatProdErrorMessage.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
getComponentNameFromType.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
hasOwnProperty.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
invokeGuardedCallbackImpl.js [flow] enable enforce_local_inference_annotations (#25921) 2023-01-09 15:46:48 -05:00
isArray.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
isValidElementType.js Improve Error Messages when Access Client References (#26059) 2023-01-27 20:08:26 -05:00
objectIs.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
package.json Drop Haste (#11303) 2017-10-25 02:55:00 +03:00
shallowEqual.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00