HomePhabricator
Diffusion Comm 9f0564e4c88f

[Flow202][electron-update-server][skip-ci] [1/3] Make sure we don't run…

Description

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

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

Reviewers: michal, jon

Reviewed By: michal

Subscribers: tomek, wyilio

Differential Revision: https://phab.comm.dev/D9716