Skip to content

Add typed lint checks and fix promise related things #3743

Add typed lint checks and fix promise related things

Add typed lint checks and fix promise related things #3743

Triggered via pull request January 9, 2025 16:41
Status Success
Total duration 13m 9s
Artifacts

ci.yml

on: pull_request
Check spelling
47s
Check spelling
Check for changesets
42s
Check for changesets
E2E Tests
3m 23s
E2E Tests
Matrix: Build and Test
Fit to window
Zoom out
Zoom in

Annotations

36 warnings
Check for changesets
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check spelling
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test (22): packages/cli.common/src/commands/auth/login/loginFlow.ts#L48
Unsafe member access .code on an `any` value
Build and Test (22): packages/cli.common/src/commands/auth/login/loginFlow.ts#L115
'output' is never reassigned. Use 'const' instead
Build and Test (22): packages/cli.common/src/commands/auth/login/loginFlow.ts#L116
'array' is never reassigned. Use 'const' instead
Build and Test (22): packages/cli.common/src/commands/auth/login/loginFlow.ts#L193
Unsafe assignment of an `any` value
Build and Test (22): packages/cli.common/src/commands/auth/login/loginFlow.ts#L198
Unsafe call of a(n) `any` typed value
Build and Test (22): packages/cli.common/src/commands/auth/login/loginFlow.ts#L198
Unsafe member access .toString on an `any` value
Build and Test (22): packages/cli.common/src/getYargsBase.ts#L44
Async arrow function has no 'await' expression
Build and Test (22): packages/cli.common/src/getYargsBase.ts#L53
This expression unnecessarily compares a boolean value to a boolean instead of using it directly
Build and Test (22): packages/cli.common/src/yargs/logLevelMiddleware.ts#L21
Async function 'logLevelMiddleware' has no 'await' expression
Build and Test (22): packages/create-app.template-packager/src/index.ts#L31
Unsafe assignment of an `any` value
Build and Test (20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test (20): packages/shared.net.errors/src/PalantirApiError.ts#L39
Unsafe assignment of an `any` value
Build and Test (20): packages/cli.common/src/commands/auth/login/loginFlow.ts#L48
Unsafe member access .code on an `any` value
Build and Test (20): packages/cli.common/src/commands/auth/login/loginFlow.ts#L115
'output' is never reassigned. Use 'const' instead
Build and Test (20): packages/cli.common/src/commands/auth/login/loginFlow.ts#L116
'array' is never reassigned. Use 'const' instead
Build and Test (20): packages/cli.common/src/commands/auth/login/loginFlow.ts#L193
Unsafe assignment of an `any` value
Build and Test (20): packages/cli.common/src/commands/auth/login/loginFlow.ts#L198
Unsafe call of a(n) `any` typed value
Build and Test (20): packages/cli.common/src/commands/auth/login/loginFlow.ts#L198
Unsafe member access .toString on an `any` value
Build and Test (20): packages/cli.common/src/getYargsBase.ts#L44
Async arrow function has no 'await' expression
Build and Test (20): packages/cli.common/src/getYargsBase.ts#L53
This expression unnecessarily compares a boolean value to a boolean instead of using it directly
Build and Test (20): packages/cli.common/src/yargs/logLevelMiddleware.ts#L21
Async function 'logLevelMiddleware' has no 'await' expression
Build and Test (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test (18): packages/version-updater/src/junk.test.ts#L20
Async arrow function has no 'await' expression
Build and Test (18): packages/generator-utils/src/changeVersionPrefix.test.ts#L25
Unexpected `await` of a non-Promise (non-"Thenable") value
Build and Test (18): packages/generator-utils/src/changeVersionPrefix.test.ts#L33
Unexpected `await` of a non-Promise (non-"Thenable") value
Build and Test (18): packages/generator-utils/src/changeVersionPrefix.test.ts#L41
Unexpected `await` of a non-Promise (non-"Thenable") value
Build and Test (18): packages/generator-utils/src/getDependencyVersionFromFindUpPackageJson.ts#L36
Unsafe member access .dependencies on an `any` value
Build and Test (18): packages/generator-utils/src/getDependencyVersionFromFindUpPackageJson.ts#L37
Unsafe member access .devDependencies on an `any` value
Build and Test (18): packages/generator-utils/src/getDependencyVersionFromFindUpPackageJson.ts#L38
Unsafe member access .peerDependencies on an `any` value