Give commands an authenticated API client, per-workspace auth sessions, telemetry, and real prompts — the foundations for porting the platform CLI onto the engine #204
Annotations
10 warnings and 10 notices
|
lint/performance/useTopLevelRegex:
packages/cli/src/controllers/app.ts#L4915
This regex literal is not defined in the top level scope. This can lead to performance issues if this function is called frequently.
|
|
lint/style/noNonNullAssertion:
packages/cli/src/controllers/app.ts#L3412
Forbidden non-null assertion.
|
|
lint/performance/useTopLevelRegex:
packages/cli/src/controllers/app.ts#L2573
This regex literal is not defined in the top level scope. This can lead to performance issues if this function is called frequently.
|
|
lint/performance/noBarrelFile:
packages/cli/src/auth/index.ts#L1
Avoid barrel files, they slow down performance, and cause large module graphs with modules that go unused.
|
|
lint/performance/useTopLevelRegex:
packages/cli-telemetry/tests/sender-integration.test.ts#L204
This regex literal is not defined in the top level scope. This can lead to performance issues if this function is called frequently.
|
|
lint/performance/useTopLevelRegex:
packages/cli-telemetry/tests/sender-integration.test.ts#L203
This regex literal is not defined in the top level scope. This can lead to performance issues if this function is called frequently.
|
|
lint/performance/useTopLevelRegex:
packages/cli-telemetry/tests/sender-integration.test.ts#L205
This regex literal is not defined in the top level scope. This can lead to performance issues if this function is called frequently.
|
|
lint/performance/useTopLevelRegex:
packages/cli-telemetry/src/enrich.ts#L120
This regex literal is not defined in the top level scope. This can lead to performance issues if this function is called frequently.
|
|
lint/performance/useTopLevelRegex:
packages/cli-telemetry/src/enrich.ts#L93
This regex literal is not defined in the top level scope. This can lead to performance issues if this function is called frequently.
|
|
lint/performance/useTopLevelRegex:
packages/cli-engine/tests/clack-prompts.test.ts#L116
This regex literal is not defined in the top level scope. This can lead to performance issues if this function is called frequently.
|
|
lint/complexity/useLiteralKeys:
packages/cli-telemetry/src/enrich.ts#L127
The computed expression can be simplified without the use of a string literal.
|
|
lint/complexity/useLiteralKeys:
packages/cli-telemetry/src/enrich.ts#L117
The computed expression can be simplified without the use of a string literal.
|
|
lint/complexity/useLiteralKeys:
packages/cli-telemetry/src/enrich.ts#L118
The computed expression can be simplified without the use of a string literal.
|
|
lint/complexity/useLiteralKeys:
packages/cli-telemetry/src/endpoint.ts#L27
The computed expression can be simplified without the use of a string literal.
|
|
lint/complexity/noExcessiveCognitiveComplexity:
packages/cli-engine/src/testing.ts#L96
Excessive complexity of 17 detected (max: 15).
|
|
lint/complexity/noExcessiveCognitiveComplexity:
packages/cli-engine/src/execution/prompts.ts#L231
Excessive complexity of 17 detected (max: 15).
|
|
lint/performance/noAwaitInLoops:
packages/cli-engine/src/execution/prompts.ts#L52
Avoid using await inside loops.
|
|
lint/complexity/noExcessiveCognitiveComplexity:
packages/cli-engine/src/execution/prompts.ts#L36
Excessive complexity of 19 detected (max: 15).
|
|
lint/complexity/noExcessiveCognitiveComplexity:
packages/cli-engine/src/execution/prompts.ts#L269
Excessive complexity of 19 detected (max: 15).
|
|
lint/complexity/noExcessiveCognitiveComplexity:
packages/cli-engine/src/execution/command-snapshot.ts#L57
Excessive complexity of 29 detected (max: 15).
|