yarn upgrade, wip #30
Annotations
11 errors, 55 warnings, and 8 notices
main
Process completed with exit code 1.
|
ESLint:
chili-and-cilantro-node-lib/src/lib/discriminators/action.ts#L19
ESLint: This assertion is unnecessary since it does not change the type of the expression. (@typescript-eslint/no-unnecessary-type-assertion)
|
ESLint:
chili-and-cilantro-lib/src/lib/interfaces/models/actions/details/base.ts#L1
ESLint: An empty interface is equivalent to \`{}\`. (@typescript-eslint/no-empty-interface)
|
ESLint:
chili-and-cilantro-react/src/app/components/game.tsx#L7
ESLint: 'isAuthenticated' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
chili-and-cilantro-react/src/app/components/game.tsx#L9
ESLint: 'setToken' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
chili-and-cilantro-api-e2e/src/fixtures/fixtures.ts#L1
ESLint: Cannot start language service process
|
ESLint:
chili-and-cilantro-react/src/pages/register.tsx#L53
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-react/src/app/components/game.tsx#L26
ESLint: 'gameId' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
chili-and-cilantro-react/src/app/components/login-page.tsx#L24
ESLint: 'formKey' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
|
Hardcoded passwords:
.yarnrc.yml#L12
Hardcoded password detected by "squarespace-access-token" default rule
|
Hardcoded passwords:
.yarnrc.yml#L8
Hardcoded password detected by "squarespace-access-token" default rule
|
main
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ESLint:
chili-and-cilantro-api/src/services/base.ts#L19
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-node-lib/src/lib/schemas/user.ts#L26
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/middlewares/error.ts#L12
ESLint: 'next' is defined but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
chili-and-cilantro-api/src/services/utility.ts#L42
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-lib/src/lib/shared-types.ts#L53
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/services/utility.ts#L42
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-react/src/app/components/private-route.tsx#L25
ESLint: Fragments should contain more than one child - otherwise, there's no need for a Fragment at all. (react/jsx-no-useless-fragment)
|
ESLint:
chili-and-cilantro-api/src/controllers/base.ts#L345
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/controllers/api/i18n.ts#L18
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-node-lib/src/types/shared-types.ts#L26
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-lib/src/lib/errors/handleable-error.ts#L13
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-lib/src/lib/utils.ts#L10
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-lib/src/lib/shared-types.ts#L46
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/controllers/base.ts#L109
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-node-lib/src/lib/interfaces/schema-data.ts#L9
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-lib/src/lib/i18n.ts#L32
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-lib/src/lib/shared-types.ts#L41
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-lib/src/lib/errors/handleable-error.ts#L4
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-node-lib/src/lib/utils.ts#L171
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/middlewares/not-found.ts#L6
ESLint: 'next' is defined but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
chili-and-cilantro-node-lib/src/types/shared-types.ts#L43
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/application.ts#L208
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/middlewares/error.ts#L9
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/controllers/base.ts#L277
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/controllers/base.ts#L269
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-lib/src/lib/i18n.ts#L33
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/controllers/api/i18n.ts#L16
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-node-lib/src/lib/utils.ts#L132
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-node-lib/src/lib/schema.ts#L33
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-node-lib/src/types/shared-types.ts#L19
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-node-lib/src/lib/interfaces/schema-model-data.ts#L5
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/services/utility.ts#L30
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-node-lib/src/lib/interfaces/discriminator-collections.ts#L4
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/test/fixtures/database.ts#L17
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/controllers/base.ts#L268
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
Exception used for local control-flow:
chili-and-cilantro-api/src/services/jwt.ts#L64
'throw' of exception caught locally
|
Mismatched JSDoc and function signature:
chili-and-cilantro-api/src/routers/app.ts#L32
Parameter debugRoutes described in JSDoc does not appear in function signature
|
Mismatched JSDoc and function signature:
chili-and-cilantro-api/src/middlewares/authenticate-token.ts#L38
Parameter application is not described in JSDoc
|
Mismatched JSDoc and function signature:
chili-and-cilantro-api/src/controllers/base.ts#L246
Parameter application is not described in JSDoc
|
Mismatched JSDoc and function signature:
chili-and-cilantro-api/src/middlewares/authenticate-token.ts#L31
Parameter getModel described in JSDoc does not appear in function signature
|
Mismatched JSDoc and function signature:
chili-and-cilantro-api/src/controllers/base.ts#L240
Parameter getModel described in JSDoc does not appear in function signature
|
Unused local symbol:
chili-and-cilantro-react/src/app/components/game.tsx#L26
Unused constant gameId
|
Unused local symbol:
chili-and-cilantro-react/src/app/components/game.tsx#L9
Unused constant setToken
|
Unused local symbol:
chili-and-cilantro-react/src/app/components/game.tsx#L7
Unused constant isAuthenticated
|
Unused local symbol:
chili-and-cilantro-api/src/middlewares/error.ts#L12
Unused parameter next
|
Unused local symbol:
chili-and-cilantro-api/src/middlewares/not-found.ts#L6
Unused parameter next
|
Unused local symbol:
chili-and-cilantro-react/src/app/components/login-page.tsx#L24
Unused constant formKey
|
Void function return value used:
chili-and-cilantro-node-lib/src/lib/schema.ts#L86
Void function return value is used
|
Unsound type guard check:
chili-and-cilantro-node-lib/src/lib/utils.ts#L180
Redundant 'instanceof' check: 'errors' has type 'Result' or a subtype of 'Result'
|
Redundant 'if' statement:
chili-and-cilantro-api/src/services/game.ts#L673
`if` statement can be simplified
|
Redundant 'if' statement:
chili-and-cilantro-api/src/services/game.ts#L696
`if` statement can be simplified
|
Redundant 'if' statement:
chili-and-cilantro-api/src/services/game.ts#L735
`if` statement can be simplified
|
Redundant local variable:
chili-and-cilantro-api/src/environment.ts#L13
Local variable fullPath is redundant
|
Redundant local variable:
chili-and-cilantro-api/src/services/game.ts#L1006
Local variable allOtherChefsHavePassed is redundant
|
|
|
Missing await for an async function call:
chili-and-cilantro-api/src/controllers/base.ts#L383
Missing await for an async function call
|
Missing await for an async function call:
chili-and-cilantro-api/src/controllers/base.ts#L389
Missing await for an async function call
|
Deprecated symbol used:
chili-and-cilantro-react/src/theme.tsx#L63
Deprecated symbol used, consult docs for better alternative
|
Deprecated symbol used:
chili-and-cilantro-react/src/theme.tsx#L70
Deprecated symbol used, consult docs for better alternative
|
Result of method call returning a promise is ignored:
chili-and-cilantro-react/src/app/components/verify-email-page.tsx#L26
Promise returned from verifyEmail is ignored
|
Result of method call returning a promise is ignored:
chili-and-cilantro-react/src/app/components/dashboard-page.tsx#L52
Promise returned from fetchGames is ignored
|