Merge pull request #606 from placeAtlas/cleanup #522
67 new problems found by Qodana for JS
for JS
67 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Comma expression |
🔶 Warning | 8 |
Unused assignment |
🔶 Warning | 5 |
Unused local symbol |
🔶 Warning | 4 |
Equality operator may cause type coercion |
🔶 Warning | 2 |
Mismatched query and update of collection |
🔶 Warning | 1 |
Result of method call returning a promise is ignored |
◽️ Notice | 28 |
Signature mismatch |
◽️ Notice | 15 |
Implicitly declared global JavaScript variable |
◽️ Notice | 2 |
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 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 707 in web/_js/main/view.js
github-actions / Qodana for JS
Signature mismatch
Argument type string is not assignable to parameter type number
Check notice on line 810 in web/_js/main/draw.js
github-actions / Qodana for JS
Signature mismatch
Argument type string is not assignable to parameter type number
Check notice on line 672 in web/_js/main/view.js
github-actions / Qodana for JS
Signature mismatch
Argument type string is not assignable to parameter type number
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 674 in web/_js/main/view.js
github-actions / Qodana for JS
Signature mismatch
Argument type string is not assignable to parameter type number
Check notice on line 127 in web/_js/main/main.js
github-actions / Qodana for JS
Signature mismatch
Argument type string is not assignable to parameter type number
Check notice on line 673 in web/_js/main/view.js
github-actions / Qodana for JS
Signature mismatch
Argument type string is not assignable to parameter type number
Check notice on line 708 in web/_js/main/view.js
github-actions / Qodana for JS
Signature mismatch
Argument type string is not assignable to parameter type number
Check notice on line 128 in web/_js/main/main.js
github-actions / Qodana for JS
Signature mismatch
Argument type string is not assignable to parameter type number
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 808 in web/_js/main/draw.js
github-actions / Qodana for JS
Signature mismatch
Argument type string is not assignable to parameter type number
Check notice on line 809 in web/_js/main/draw.js
github-actions / Qodana for JS
Signature mismatch
Argument type string is not assignable to parameter type number
Check notice on line 126 in web/_js/main/main.js
github-actions / Qodana for JS
Signature mismatch
Argument type string is not assignable to parameter type number
Check notice on line 709 in web/_js/main/view.js
github-actions / Qodana for JS
Signature mismatch
Argument type string is not assignable to parameter type number
Check warning on line 408 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 401 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