Improve Qodana checks (#9) #4
25 new problems found by Qodana for JS
Qodana for JS
25 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unused local symbol |
🔶 Warning | 6 |
ESLint |
🔶 Warning | 2 |
Unnecessary 'continue' statement |
🔶 Warning | 1 |
Result of method call returning a promise is ignored |
◽️ Notice | 16 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
Detected 65 dependencies
Third-party software list
This page lists the third-party software dependencies used in project
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 353 in src/genImage.jsx
github-actions / Qodana for JS
ESLint
ESLint: 'err' is defined but never used. (@typescript-eslint/no-unused-vars)
Check warning on line 52 in src/aiChat.jsx
github-actions / Qodana for JS
ESLint
ESLint: 'model' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
Check notice on line 200 in src/api/gpt.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from getResponse is ignored
Check notice on line 277 in src/aiChat.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check notice on line 56 in src/genImage.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check notice on line 173 in src/aiChat.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check notice on line 163 in src/aiChat.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check notice on line 58 in src/genImage.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check notice on line 101 in src/aiChat.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check notice on line 203 in src/api/gpt.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from getResponse is ignored
Check notice on line 199 in src/genImage.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check notice on line 127 in src/genImage.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check notice on line 244 in src/genImage.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check notice on line 265 in src/genImage.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check notice on line 99 in src/aiChat.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check notice on line 117 in src/genImage.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check notice on line 298 in src/aiChat.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check notice on line 202 in src/aiChat.jsx
github-actions / Qodana for JS
Result of method call returning a promise is ignored
Promise returned from toast is ignored
Check warning on line 109 in src/genImage.jsx
github-actions / Qodana for JS
Unused local symbol
Unused local variable ImageActionPanel
Check warning on line 85 in src/aiChat.jsx
github-actions / Qodana for JS
Unused local symbol
Unused local variable CreateChat
Check warning on line 353 in src/genImage.jsx
github-actions / Qodana for JS
Unused local symbol
Unused parameter err
Check warning on line 45 in src/genImage.jsx
github-actions / Qodana for JS
Unused local symbol
Unused local variable CreateChat
Check warning on line 155 in src/aiChat.jsx
github-actions / Qodana for JS
Unused local symbol
Unused local variable GPTActionPanel
Check warning on line 52 in src/aiChat.jsx
github-actions / Qodana for JS
Unused local symbol
Unused constant model
Check warning on line 216 in src/genImage.jsx
github-actions / Qodana for JS
Unnecessary 'continue' statement
`continue` is unnecessary as the last statement in a loop