Some instance-only changes #6
72 new problems found by Qodana for JS
for JS
72 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Comma expression |
🔶 Warning | 8 |
Unused local symbol |
🔶 Warning | 7 |
Unused assignment |
🔶 Warning | 5 |
Void function return value used |
🔶 Warning | 4 |
Equality operator may cause type coercion |
🔶 Warning | 2 |
Mismatched query and update of collection |
🔶 Warning | 1 |
Unnecessary 'return' statement |
🔶 Warning | 1 |
Result of method call returning a promise is ignored |
◽️ Notice | 29 |
Signature mismatch |
◽️ Notice | 9 |
Implicitly declared global JavaScript variable |
◽️ Notice | 4 |
Type mismatch |
◽️ Notice | 2 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
View the detailed Qodana report
To be able to view the detailed Qodana report, you can either:
- Register at Qodana Cloud and configure the action
- Use GitHub Code Scanning with Qodana
- Host Qodana report at GitHub Pages
- Inspect and use
qodana.sarif.json
(see the Qodana SARIF format for details)
To get *.log
files or any other Qodana artifacts, run the action with upload-result
option set to true
,
so that the action will upload the files as the job artifacts:
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
upload-result: true
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 warning on line 9 in web/_js/lib/polylabel.js
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 9 in web/_js/lib/polylabel.js
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 9 in web/_js/lib/polylabel.js
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 9 in web/_js/lib/polylabel.js
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 9 in web/_js/lib/polylabel.js
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 9 in web/_js/lib/polylabel.js
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 9 in web/_js/lib/polylabel.js
github-actions / Qodana for JS
Comma expression
Comma expression
Check warning on line 9 in web/_js/lib/polylabel.js
github-actions / Qodana for JS
Comma expression
Comma expression
Check notice on line 87 in web/_js/main/view.js
github-actions / Qodana for JS
Signature mismatch
Argument type null is not assignable to parameter type string
Check notice on line 471 in web/_js/main/view.js
github-actions / Qodana for JS
Signature mismatch
Argument type null is not assignable to parameter type string
Check notice on line 151 in web/_js/main/stats.js
github-actions / Qodana for JS
Signature mismatch
Argument type number is not assignable to parameter type string
Check notice on line 17 in web/_js/about.js
github-actions / Qodana for JS
Signature mismatch
Argument type function(any, any): boolean is not assignable to parameter type
((a: string, b: string) =\> number) \| undefined
Type function(any, any): boolean is not assignable to type (a: string, b: string) =\> number
Type boolean is not assignable to type number
Check notice on line 57 in web/_js/main/view.js
github-actions / Qodana for JS
Signature mismatch
Argument type null is not assignable to parameter type string
Check notice on line 117 in web/_js/main/stats.js
github-actions / Qodana for JS
Signature mismatch
Argument type number is not assignable to parameter type string
Check notice on line 130 in web/_js/main/time.js
github-actions / Qodana for JS
Signature mismatch
Argument type unknown is not assignable to parameter type Blob \| MediaSource
Type unknown is not assignable to type MediaSource
Type unknown is not assignable to type Blob
Check notice on line 736 in web/_js/main/view.js
github-actions / Qodana for JS
Signature mismatch
Argument type null is not assignable to parameter type string
Check notice on line 14 in web/_js/main/overlap.js
github-actions / Qodana for JS
Signature mismatch
Argument type null is not assignable to parameter type string
Check warning on line 407 in web/_js/main/draw.js
github-actions / Qodana for JS
Equality operator may cause type coercion
Comparison undoHistory.length == 0 may cause unexpected type coercion
Check warning on line 400 in web/_js/main/draw.js
github-actions / Qodana for JS
Equality operator may cause type coercion
Comparison path.length == 0 may cause unexpected type coercion
Check notice on line 738 in web/_js/main/view.js
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from render is ignored
Check notice on line 181 in web/_js/main/view.js
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from render is ignored
Check notice on line 26 in web/_js/main/overlap.js
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from render is ignored
Check notice on line 674 in web/_js/main/view.js
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from updateTime is ignored
Check notice on line 199 in web/_js/main/view.js
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from render is ignored
Check notice on line 647 in web/_js/main/view.js
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from render is ignored