44 new problems found by Qodana for JS
Qodana for JS
44 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unused local symbol |
🔶 Warning | 13 |
Unused import |
🔶 Warning | 8 |
Unused assignment |
🔶 Warning | 6 |
Unresolved file reference |
🔶 Warning | 2 |
Syntax errors and unresolved references in JSDoc |
🔶 Warning | 1 |
Void function return value used |
🔶 Warning | 1 |
Pointless statement or boolean expression |
🔶 Warning | 1 |
Unreachable code |
🔶 Warning | 1 |
Result of method call returning a promise is ignored |
◽️ Notice | 8 |
Missing await for an async function call |
◽️ Notice | 3 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check notice on line 33 in lib/server/src/text-documents.ts
github-actions / Qodana for JS
Missing await for an async function call
Missing await for an async function call
Check notice on line 33 in lib/custom-elements-languageserver-core/src/cem/cem-cache.ts
github-actions / Qodana for JS
Missing await for an async function call
Missing await for an async function call
Check notice on line 44 in lib/server/src/text-documents.ts
github-actions / Qodana for JS
Missing await for an async function call
Missing await for an async function call
Check warning on line 21 in lib/custom-elements-languageserver-core/src/cem/analyzer.ts
github-actions / Qodana for JS
Unused import
Unused import url from "url";
Check warning on line 18 in lib/custom-elements-languageserver-core/src/cem/analyzer.ts
github-actions / Qodana for JS
Unused import
Unused
import tss from "typescript/lib/tsserverlibrary.js";
Check warning on line 3 in lib/custom-elements-languageserver-core/src/cem/cem-data.ts
github-actions / Qodana for JS
Unused import
Unused
import tss from "typescript/lib/tsserverlibrary.js";
Check warning on line 6 in lib/server/src/text-documents.ts
github-actions / Qodana for JS
Unused import
Unused import specifier getProjectForCurrentFile
Check warning on line 6 in usage-testing-project/src/fast-component.ts
github-actions / Qodana for JS
Unused import
Unused import specifier Observable
Check warning on line 1 in lib/custom-elements-languageserver-core/src/handlers/go-to-definition.ts
github-actions / Qodana for JS
Unused import
Unused
import \* as HTMLLanguageService from "vscode-html-languageservice/lib/esm/htmlLanguageService.js";
Check warning on line 24 in lib/custom-elements-languageserver-core/src/cem/analyzer.ts
github-actions / Qodana for JS
Unused import
Unused
import { LogLevel, Logger } from "../logger/logger";
Check warning on line 5 in lib/custom-elements-languageserver-core/src/cem/cem-data.ts
github-actions / Qodana for JS
Unused import
Unused import url from "url";
Check warning on line 3 in lib/server/bin/custom-elements-languageserver.js
github-actions / Qodana for JS
Unresolved file reference
Cannot resolve directory dist
Check warning on line 3 in lib/server/bin/custom-elements-languageserver.js
github-actions / Qodana for JS
Unresolved file reference
Cannot resolve file server.js
Check notice on line 47 in lib/server/src/server.ts
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from runDiagnostics is ignored
Check notice on line 112 in lib/custom-elements-languageserver-core/src/cem/cem-cache.ts
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from refreshLocal is ignored
Check notice on line 37 in lib/server/src/server.ts
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from runDiagnostics is ignored
Check notice on line 31 in globbytest.js
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from cemTest is ignored
Check notice on line 68 in lib/server/src/language-services/language-services.ts
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from refreshFileForLanguageService is ignored
Check notice on line 17 in lib/custom-elements-languageserver-core/src/cem/cem-cache.ts
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from initializeCEMs is ignored
Check notice on line 14 in lib/server/src/handlers/code-action-resolve.ts
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from runDiagnostics is ignored
Check notice on line 78 in lib/server/src/connection.ts
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from initializeProjectsInWorkSpaceFolders is ignored
Check warning on line 57 in lib/custom-elements-languageserver-core/src/handlers/quickinfo.ts
github-actions / Qodana for JS
Unused assignment
Variable initializer is redundant
Check warning on line 58 in lib/custom-elements-languageserver-core/src/handlers/quickinfo.ts
github-actions / Qodana for JS
Unused assignment
Variable initializer is redundant
Check warning on line 36 in lib/custom-elements-languageserver-core/src/logger/logger.ts
github-actions / Qodana for JS
Unused assignment
Variable initializer is redundant
Check warning on line 101 in lib/custom-elements-languageserver-core/src/handlers/quickinfo.ts
github-actions / Qodana for JS
Unused assignment
Variable initializer is redundant