react/packages/react-devtools-shared/src
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
backend Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
config [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
devtools Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
errors [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
hooks Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
node_modules/react-window [flow] enable enforce_local_inference_annotations (#25921) 2023-01-09 15:46:48 -05:00
Logger.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
PerformanceLoggingUtils.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
UnsupportedBridgeOperationError.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
backendAPI.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
bridge.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
constants.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
dynamicImportCache.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
events.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
hook.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
hookNamesCache.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
hydration.js Upgrade to Flow 0.196.3 (#25974) 2023-01-09 17:52:42 -05:00
inspectedElementCache.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
inspectedElementMutableSource.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
isArray.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
registerDevToolsEventLogger.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
storage.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
types.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
utils.js [react devtools] Device storage support (#25452) 2022-10-25 13:25:33 +11:00