Push on main #26
codeql
on: dynamic
Matrix: analyze
Annotations
9 errors, 62 warnings, and 11 notices
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-api-e2e/src/fixtures/fixtures.ts#L7
ESLint: Projects cannot be imported by a relative or absolute path, and must begin with a npm scope (@nx/enforce-module-boundaries)
|
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-api-e2e/src/fixtures/fixtures.ts#L5
ESLint: Projects cannot be imported by a relative or absolute path, and must begin with a npm scope (@nx/enforce-module-boundaries)
|
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#L6
ESLint: Projects cannot be imported by a relative or absolute path, and must begin with a npm scope (@nx/enforce-module-boundaries)
|
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)
|
Analyze (javascript-typescript)
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/controllers/base.ts#L272
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/controllers/api/user.ts#L187
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-node-lib/src/lib/schema.ts#L34
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/controllers/base.ts#L271
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/controllers/base.ts#L401
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/api/i18n.ts#L18
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-node-lib/src/lib/utils.ts#L174
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-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-api/src/application.ts#L213
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-node-lib/src/lib/schemas/user.ts#L28
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-api/src/controllers/base.ts#L280
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/lib/shared-types.ts#L43
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-lib/src/lib/i18n.ts#L33
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
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-api/src/controllers/api/i18n.ts#L16
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/controllers/base.ts#L112
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/discriminators/action.ts#L9
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/src/controllers/base.ts#L348
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-api/test/fixtures/application.ts#L44
ESLint: 'mongoUri' is defined but never used. (@typescript-eslint/no-unused-vars)
|
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-node-lib/src/lib/shared-types.ts#L19
ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
ESLint:
chili-and-cilantro-node-lib/src/lib/shared-types.ts#L26
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/application.ts#L19
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#L243
Parameter getModel described in JSDoc does not appear in function signature
|
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/services/game.ts#L190
Parameter chefId is not described in JSDoc
|
Mismatched JSDoc and function signature:
chili-and-cilantro-api/src/services/game.ts#L189
Parameter gameId is not described in JSDoc
|
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/test/fixtures/application.ts#L44
Unused parameter mongoUri
|
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
|
Unsound type guard check:
chili-and-cilantro-node-lib/src/lib/utils.ts#L183
Redundant 'instanceof' check: 'errors' has type 'Result' or a subtype of 'Result'
|
Redundant 'if' statement:
chili-and-cilantro-api/src/services/game.ts#L717
`if` statement can be simplified
|
Redundant 'if' statement:
chili-and-cilantro-api/src/services/game.ts#L740
`if` statement can be simplified
|
Redundant 'if' statement:
chili-and-cilantro-api/src/services/game.ts#L779
`if` statement can be simplified
|
Redundant local variable:
chili-and-cilantro-api/src/services/game.ts#L1050
Local variable allOtherChefsHavePassed is redundant
|
Redundant local variable:
chili-and-cilantro-api/test/fixtures/application.ts#L28
Local variable mongooseMock is redundant
|
Redundant local variable:
chili-and-cilantro-api/src/environment.ts#L13
Local variable fullPath is redundant
|
Redundant local variable:
chili-and-cilantro-api/src/mocks/create-mock-document.ts#L46
Local variable saveMock is redundant
|
|
|
Missing await for an async function call:
chili-and-cilantro-api/src/controllers/base.ts#L386
Missing await for an async function call
|
Missing await for an async function call:
chili-and-cilantro-api/src/controllers/base.ts#L392
Missing await for an async function call
|
Redundant 'await' expression:
chili-and-cilantro-api/src/services/action.ts#L74
Redundant 'return await'
|
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
|
Deprecated symbol used:
chili-and-cilantro-api/src/fixtures/game.ts#L20
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-initdb/src/main.ts#L41
Promise returned from initializeDatabase is ignored
|
Result of method call returning a promise is ignored:
chili-and-cilantro-react/src/app/components/dashboard-page.tsx#L55
Promise returned from fetchGames is ignored
|