Page MenuHomePhabricator

[Flow202][electron-update-server][skip-ci] [1/3] Make sure we don't run Prettier on flow-typed folders
ClosedPublic

Authored by ashoat on Nov 5 2023, 6:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 28, 3:43 AM
Unknown Object (File)
Tue, Nov 26, 3:21 AM
Unknown Object (File)
Sat, Nov 23, 2:09 PM
Unknown Object (File)
Fri, Nov 8, 5:48 AM
Unknown Object (File)
Fri, Nov 8, 4:39 AM
Unknown Object (File)
Tue, Nov 5, 10:01 PM
Unknown Object (File)
Mon, Nov 4, 10:09 AM
Unknown Object (File)
Oct 27 2024, 5:51 PM
Subscribers

Details

Summary

Two changes here:

  1. Update .prettierignore to cover all folders named flow-typed instead of individually enumerating each flow-typed folder in the repo.
  2. Revert the Prettier changes to services/electron-update-server/flow-typed/npm/express_v4.17.x.js. This is to make it easier to diff against upstream changes, and to make sure it matches the libdef we have in the keyserver folder.
NOTE: CI will fail on this diff. I considered the possibility of fixing Flow errors BEFORE upgrading Flow, but it wasn't possible... in some cases, the fixes to support the new version of Flow caused errors in the old version. I could have hidden these type errors with $FlowFixMe lines and then later revert those, but that seemed like too much busy work.
Test Plan

Revert changes in D6783 and then run yarn prettier --write services/electron-update-server to confirm that they aren't reintroduced

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat edited the summary of this revision. (Show Details)
Harbormaster returned this revision to the author for changes because remote builds failed.Nov 5 2023, 7:03 AM
Harbormaster failed remote builds in B23758: Diff 32720!
ashoat requested review of this revision.Nov 5 2023, 7:53 AM
This revision is now accepted and ready to land.Nov 6 2023, 1:30 AM
ashoat retitled this revision from [Flow202][electron-update-server] [1/3] Make sure we don't run Prettier on flow-typed folders to [Flow202][electron-update-server][skip-ci] [1/3] Make sure we don't run Prettier on flow-typed folders.Nov 19 2023, 11:42 AM
This revision was landed with ongoing or failed builds.Nov 27 2023, 3:25 PM
This revision was automatically updated to reflect the committed changes.