Skip to content
GitHub Actions / Qodana for JS completed Dec 12, 2024 in 0s

74 new problems found by Qodana for JS

Qodana for JS

74 new problems were found

Inspection name Severity Problems
ESLint 🔴 Failure 10
Hardcoded passwords 🔴 Failure 2
ESLint 🔶 Warning 35
Unused local symbol 🔶 Warning 6
Mismatched JSDoc and function signature 🔶 Warning 5
Redundant 'if' statement 🔶 Warning 3
Redundant local variable 🔶 Warning 2
Exception used for local control-flow 🔶 Warning 1
Void function return value used 🔶 Warning 1
Unsound type guard check 🔶 Warning 1
Duplicated code fragment ◽️ Notice 2
Missing await for an async function call ◽️ Notice 2
Deprecated symbol used ◽️ Notice 2
Result of method call returning a promise is ignored ◽️ Notice 2

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 62 in chili-and-cilantro-react/src/app/auth-provider.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Duplicated code fragment

Duplicated code

Check notice on line 6 in chili-and-cilantro-lib/src/lib/strings/english-uk.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Duplicated code fragment

Duplicated code

Check notice on line 383 in chili-and-cilantro-api/src/controllers/base.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Missing await for an async function call

Missing await for an async function call

Check notice on line 389 in chili-and-cilantro-api/src/controllers/base.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Missing await for an async function call

Missing await for an async function call

Check warning on line 19 in chili-and-cilantro-api/src/services/base.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check failure on line 19 in chili-and-cilantro-node-lib/src/lib/discriminators/action.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: This assertion is unnecessary since it does not change the type of the expression. (@typescript-eslint/no-unnecessary-type-assertion)

Check warning on line 26 in chili-and-cilantro-node-lib/src/lib/schemas/user.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check warning on line 12 in chili-and-cilantro-api/src/middlewares/error.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: 'next' is defined but never used. (@typescript-eslint/no-unused-vars)

Check warning on line 42 in chili-and-cilantro-api/src/services/utility.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check failure on line 1 in chili-and-cilantro-lib/src/lib/interfaces/models/actions/details/base.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: An empty interface is equivalent to \`{}\`. (@typescript-eslint/no-empty-interface)

Check warning on line 53 in chili-and-cilantro-lib/src/lib/shared-types.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check failure on line 7 in chili-and-cilantro-api-e2e/src/fixtures/fixtures.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Projects cannot be imported by a relative or absolute path, and must begin with a npm scope (@nx/enforce-module-boundaries)

Check failure on line 7 in chili-and-cilantro-react/src/app/components/game.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: 'isAuthenticated' is assigned a value but never used. (@typescript-eslint/no-unused-vars)

Check warning on line 42 in chili-and-cilantro-api/src/services/utility.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check warning on line 25 in chili-and-cilantro-react/src/app/components/private-route.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Fragments should contain more than one child - otherwise, there's no need for a Fragment at all. (react/jsx-no-useless-fragment)

Check warning on line 345 in chili-and-cilantro-api/src/controllers/base.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check warning on line 18 in chili-and-cilantro-api/src/controllers/api/i18n.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check warning on line 26 in chili-and-cilantro-node-lib/src/types/shared-types.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check warning on line 13 in chili-and-cilantro-lib/src/lib/errors/handleable-error.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check failure on line 9 in chili-and-cilantro-react/src/app/components/game.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: 'setToken' is assigned a value but never used. (@typescript-eslint/no-unused-vars)

Check failure on line 6 in chili-and-cilantro-api-e2e/src/fixtures/fixtures.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Projects cannot be imported by a relative or absolute path, and must begin with a npm scope (@nx/enforce-module-boundaries)

Check warning on line 10 in chili-and-cilantro-lib/src/lib/utils.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check warning on line 46 in chili-and-cilantro-lib/src/lib/shared-types.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check warning on line 109 in chili-and-cilantro-api/src/controllers/base.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check warning on line 9 in chili-and-cilantro-node-lib/src/lib/interfaces/schema-data.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)