Page MenuHomePhabricator

[desktop] Enable flow in the desktop workspace
ClosedPublic

Authored by michal on Jan 5 2023, 4:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 2, 3:33 PM
Unknown Object (File)
Sat, Nov 30, 12:54 AM
Unknown Object (File)
Sat, Nov 30, 12:54 AM
Unknown Object (File)
Sat, Nov 30, 12:53 AM
Unknown Object (File)
Sat, Nov 30, 12:53 AM
Unknown Object (File)
Thu, Nov 28, 4:06 AM
Unknown Object (File)
Fri, Nov 22, 4:10 AM
Unknown Object (File)
Fri, Nov 22, 4:10 AM
Subscribers

Details

Summary

ENG-2219
Adds flow support in the desktop workspace.

Test Plan
  • Run flow in desktop
  • Check if lint-staged fails when trying to commit file with type errors

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Remove lib from dependencies (it was supposed to be in a next diff)

michal requested review of this revision.Jan 5 2023, 4:50 AM
ashoat requested changes to this revision.Jan 5 2023, 8:28 AM

We should add this Flow check to CI: .buildkite/eslint_flow_jest.yml and .github/workflows/eslint_flow_jest.yml

desktop/package.json
37 ↗(On Diff #20612)

We should also add flow-typed

desktop/src/main.js
1 ↗(On Diff #20612)

Please add a newline below here

desktop/src/preload.js
1 ↗(On Diff #20612)

Please add a newline below here

This revision now requires changes to proceed.Jan 5 2023, 8:28 AM

Add flow-typed dep, add newlines, add to GitHub and Buildkite CI.

This revision is now accepted and ready to land.Jan 9 2023, 8:24 AM