Files
flipper/desktop
Pascal Hartig d42932c111 Add rule for warning against electron.remote
Summary:
I don't think there's an easy way to do this based on types
which would be ideal ...

So instead I'm checking for

- Importing `remote` from `electron`.
- Accessing `electron.remote`.

You can still hack this by importing `electron`, saving
it to a differently named variable and accessing `remote` on it,
but this should cover all reasonable cases we see in real code.

Reviewed By: mweststrate

Differential Revision: D26453006

fbshipit-source-id: 4b3d223bed43ca3f0d1a4f592ea8f8060a823479
2021-02-16 04:15:51 -08:00
..
2021-02-12 06:44:58 -08:00
2021-02-12 09:22:21 -08:00
2021-02-12 05:14:57 -08:00
2020-11-09 08:24:28 -08:00
2020-06-19 03:54:49 -07:00
2020-08-20 13:32:47 -07:00
2021-02-12 05:14:57 -08:00