Update shopware-extension-schema.json #45
48 new problems found by Qodana for Go
Qodana for Go
48 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unhandled error |
🔶 Warning | 5 |
Unexported return type of the exported function |
🔶 Warning | 4 |
Bool condition |
🔶 Warning | 3 |
Imported package name as a name identifier |
🔶 Warning | 2 |
Reserved word used as name |
🔶 Warning | 1 |
Deprecated dependency |
🔶 Warning | 1 |
Dependency update available |
◽️ Notice | 7 |
'defer' in the loop |
◽️ Notice | 6 |
Name starts with a package name |
◽️ Notice | 6 |
Error string should not be capitalized or end with punctuation |
◽️ Notice | 5 |
Usage of Snake_Case |
◽️ Notice | 3 |
Empty slice declared using a literal |
◽️ Notice | 2 |
Incorrect usage of 'fmt.Printf' and 'fmt.Println' functions |
◽️ Notice | 1 |
Redundant type conversion |
◽️ Notice | 1 |
Type can be omitted |
◽️ Notice | 1 |
💡 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 warning on line 66 in internal/esbuild/sass.go
github-actions / Qodana for Go
Bool condition
Condition `osType == "darwin"` is always `false`
Check warning on line 30 in cmd/project/project_proxy.go
github-actions / Qodana for Go
Bool condition
Condition `runtime.GOOS == "darwin"` is always `false`
Check warning on line 32 in cmd/project/project_proxy.go
github-actions / Qodana for Go
Bool condition
Condition `runtime.GOOS == "windows"` is always `false`
Check notice on line 77 in extension/asset_platform.go
github-actions / Qodana for Go
'defer' in the loop
Possible resource leak, `defer` is called in the `for` loop
Check notice on line 39 in cmd/project/config_sync_theme.go
github-actions / Qodana for Go
'defer' in the loop
Possible resource leak, `defer` is called in the `for` loop
Check notice on line 41 in cmd/project/config_sync_entity.go
github-actions / Qodana for Go
'defer' in the loop
Possible resource leak, `defer` is called in the `for` loop
Check notice on line 88 in extension/asset_platform.go
github-actions / Qodana for Go
'defer' in the loop
Possible resource leak, `defer` is called in the `for` loop
Check notice on line 100 in extension/asset_platform.go
github-actions / Qodana for Go
'defer' in the loop
Possible resource leak, `defer` is called in the `for` loop
Check notice on line 101 in cmd/project/config_sync_theme.go
github-actions / Qodana for Go
'defer' in the loop
Possible resource leak, `defer` is called in the `for` loop
Check notice on line 290 in cmd/account/account_producer_extension_info_push.go
github-actions / Qodana for Go
Error string should not be capitalized or end with punctuation
Error string should not be capitalized or end with punctuation mark
Check notice on line 303 in cmd/account/account_producer_extension_info_push.go
github-actions / Qodana for Go
Error string should not be capitalized or end with punctuation
Error string should not be capitalized or end with punctuation mark
Check notice on line 48 in version/version.go
github-actions / Qodana for Go
Error string should not be capitalized or end with punctuation
Error string should not be capitalized or end with punctuation mark
Check notice on line 75 in extension/zip.go
github-actions / Qodana for Go
Error string should not be capitalized or end with punctuation
Error string should not be capitalized or end with punctuation mark
Check notice on line 57 in version/version.go
github-actions / Qodana for Go
Error string should not be capitalized or end with punctuation
Error string should not be capitalized or end with punctuation mark
Check warning on line 291 in extension/app.go
github-actions / Qodana for Go
Unexported return type of the exported function
Exported method with the unexported return type
Check warning on line 287 in extension/app.go
github-actions / Qodana for Go
Unexported return type of the exported function
Exported method with the unexported return type
Check warning on line 146 in extension/platform.go
github-actions / Qodana for Go
Unexported return type of the exported function
Exported method with the unexported return type
Check warning on line 158 in extension/platform.go
github-actions / Qodana for Go
Unexported return type of the exported function
Exported method with the unexported return type
Check warning on line 47 in extension/validator.go
github-actions / Qodana for Go
Imported package name as a name identifier
Variable `context` collides with imported package name
Check warning on line 224 in cmd/project/ci.go
github-actions / Qodana for Go
Imported package name as a name identifier
Variable `extension` collides with imported package name
Check notice on line 12 in internal/git/git.go
github-actions / Qodana for Go
Name starts with a package name
Name starts with the package name
Check notice on line 20 in version/version.go
github-actions / Qodana for Go
Name starts with a package name
Name starts with the package name
Check notice on line 438 in extension/asset_platform.go
github-actions / Qodana for Go
Name starts with a package name
Name starts with the package name
Check notice on line 444 in extension/asset_platform.go
github-actions / Qodana for Go
Name starts with a package name
Name starts with the package name
Check notice on line 398 in extension/asset_platform.go
github-actions / Qodana for Go
Name starts with a package name
Name starts with the package name