Moving the emulator UI server to firebase-tools. #31274
Annotations
10 errors and 11 warnings
|
Run npm run lint:changed-files:
src/emulator/ui.ts#L5
'EmulatorLogger' is defined but never used
|
|
|
Run npm run lint:changed-files:
src/emulator/ui.ts#L35
Replace `Object.keys(ALL_EXPERIMENTS)·as·Array<ExperimentName>).filter(⏎······(experimentName)·=>·isEnabled(experimentName),⏎····` with `⏎······Object.keys(ALL_EXPERIMENTS)·as·Array<ExperimentName>⏎····).filter((experimentName)·=>·isEnabled(experimentName)`
|
Run npm run lint:changed-files:
src/emulator/ui.ts#L47
Replace `);` with `,`
|
Run npm run lint:changed-files:
src/emulator/ui.ts#L48
Replace `······this.destroyServer·=·createDestroyer(server);⏎` with `····);⏎····this.destroyServer·=·createDestroyer(server);`
|
Run npm run lint:changed-files:
src/emulator/ui/server.ts#L17
Replace `'http'` with `"http"`
|
Run npm run lint:changed-files:
src/emulator/ui/server.ts#L18
Replace `'net'` with `"net"`
|
Run npm run lint:changed-files:
src/emulator/ui/server.ts#L19
Replace `'path'` with `"path"`
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run npm run lint:changed-files:
src/emulator/controller.ts#L72
Missing JSDoc @param "options" description
|
Run npm run lint:changed-files:
src/emulator/controller.ts#L74
Missing return type on function
|
Run npm run lint:changed-files:
src/emulator/controller.ts#L74
Unexpected any. Specify a different type
|
Run npm run lint:changed-files:
src/emulator/controller.ts#L75
Unsafe assignment of an `any` value
|
Run npm run lint:changed-files:
src/emulator/controller.ts#L75
Unsafe member access .exportOnExit on an `any` value
|
Run npm run lint:changed-files:
src/emulator/controller.ts#L79
Invalid type "any" of template literal expression
|
Run npm run lint:changed-files:
src/emulator/controller.ts#L82
Unsafe argument of type `any` assigned to a parameter of type `string`
|
Run npm run lint:changed-files:
src/emulator/controller.ts#L83
Unexpected any. Specify a different type
|
Run npm run lint:changed-files:
src/emulator/controller.ts#L84
Unsafe argument of type `any` assigned to a parameter of type `string`
|
Run npm run lint:changed-files:
src/emulator/controller.ts#L85
Invalid type "any" of template literal expression
|
Loading