Skip to content

Update shopware-extension-schema.json #45

Update shopware-extension-schema.json

Update shopware-extension-schema.json #45

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Qodana for Go completed Sep 23, 2023 in 0s

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]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 66 in internal/esbuild/sass.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Bool condition

Condition `osType == "darwin"` is always `false`

Check warning on line 30 in cmd/project/project_proxy.go

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Bool condition

Condition `runtime.GOOS == "windows"` is always `false`

Check notice on line 77 in extension/asset_platform.go

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Name starts with a package name

Name starts with the package name