Files
flipper/desktop
Anton Kastritskiy 99dbcfa079 casing convension
Summary:
[eslint-typescript/naming-convension rule docs](https://typescript-eslint.io/rules/naming-convention/)

Initially looked into it to enforce UPPER_CASE for top most constants like `const DELAY = 10` which is a standard in js ecosystem, which turned to be more difficuilt(we will still get there).

Turns out we had casing checks disabled for everything but typeLike names. What I did in this diff

- use default setting for eslint rule
    `✖ 9890 problems`
- with any propery names
    `✖ 8229 problems`
- without checking properies at all
    `✖ 3683 problems`
- without checking enum members
    `✖ 3231 problems`
- without checking object properties/methods
    `✖ 2978 problems`
- allowing PascalCase for variables
    `✖ 1657 problems
- allowing PascalCase for functions
    `✖ 975 problems
- not checking typeMethod and parameters
    `✖ 916 problems`
- allow double underscore before after variable
    `✖ 461 problems`
- allow snake_case variables
    `✖ 49 problems`

Fix remaining problems.

Future plans. Ban usage of PascalCase for variables that are not components

Reviewed By: LukeDefeo

Differential Revision: D50970193

fbshipit-source-id: d9f3abe6b02c9f7822598c8fa5382f58d067f70e
2023-11-03 06:16:18 -07:00
..
2023-10-20 12:44:58 -07:00
2023-10-03 10:58:10 -07:00
2023-10-18 05:55:23 -07:00
2023-08-21 03:03:30 -07:00
2023-08-21 03:03:30 -07:00
2023-11-03 06:16:18 -07:00
2023-08-29 05:06:18 -07:00
2023-11-02 10:42:15 -07:00
2023-11-02 10:42:15 -07:00
2023-11-03 06:16:18 -07:00
2023-08-30 07:26:35 -07:00
2023-10-03 10:58:10 -07:00
2023-10-11 04:21:54 -07:00
2023-09-05 07:17:06 -07:00
2023-11-01 10:11:43 -07:00
2023-11-01 05:11:58 -07:00
2023-08-30 07:26:35 -07:00
2023-11-03 06:16:18 -07:00
2023-10-20 07:23:34 -07:00
2021-09-27 08:25:20 -07:00
2023-05-31 14:19:29 -07:00
2023-11-01 10:11:43 -07:00
2023-09-12 03:55:37 -07:00
2023-08-29 05:06:18 -07:00
2023-10-26 03:05:02 -07:00

Flipper Desktop

This folder contains everything to run the Flipper 'Desktop', that is, the UI which you use to interact with the device / app under debug.

Packages provided here:

  • flipper-common: utilities & types shared between client, server, and plugins
  • flipper-server-core: all device & client management goes in here. Basically flipper's backend
  • flipper-ui-core: all UI goes in here, as far as it doesn't depend on Electron
  • app: the Electron app, will load flipper-server-core and flipper-ui-core, and glue them together, providing implementations for some electron specific stuff like dialogs
  • flipper-server: A node process hosting flipper-server-core that can be connected to over websockets. Also, it can serve a browser version of the UI as well.
  • flipper-ui-browser: thin wrapper around flipper-ui-core, providing some browser specific behavior / stubs.
  • flipper-dump: (might remove later) as an alternative way to test flipper-server-core.
  • flipper-plugin: The flipper SDK used by plugins. Exposes all API's that can be used by plugins
  • pkg: CLI tool to manage building flipper plugins
  • pkg-lib
  • plugin-lib
  • babel-transformer
  • doctor
  • eslint-plugin-flipper

Packages overview

app:
   - flipper-server-core (directly embedded)
   - flipper-ui-core
       - plugins (prebundled)
   - plugins (installable)
       - flipper-plugin

flipper-server
   - flipper-server-core
   - flipper-ui-browser (served by webserver)
       - flipper-ui-core (communicates using web sockets with server-core)
           - plugins (prebundled)
   - plugins (installable)?

flipper-dump
   - flipper-server-core