Add linters to v2 project and a new job in the workflow #1730
Annotations
10 errors and 1 warning
v2/internal/app/app_devtools_not.go#L1
File is not `gofmt`-ed with `-s` (gofmt)
|
v2/internal/binding/generate.go#L85
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
v2/internal/frontend/desktop/linux/calloc.go#L9
could not import C (cgo preprocessing failed) (typecheck)
|
v2/internal/frontend/desktop/linux/frontend.go#L92
could not import github.com/wailsapp/wails/v2/pkg/assetserver/webview (-: go build github.com/wailsapp/wails/v2/pkg/assetserver/webview:
|
v2/internal/frontend/runtime/events.go#L146
S1002: should omit comparison to bool constant, can be simplified to `itemsToDelete` (gosimple)
|
v2/internal/fs/fs.go#L114
`unnecassary` is a misspelling of `unnecessary` (misspell)
|
v2/internal/go-common-file-dialog/cfd/CommonFileDialog_nonWindows.go#L8
the variable name `unsupportedError` should conform to the `errXxx` format (errname)
|
v2/internal/go-common-file-dialog/cfd/errors.go#L6
the variable name `ErrorCancelled` should conform to the `ErrXxx` format (errname)
|
v2/internal/go-common-file-dialog/cfdutil/CFDUtil.go#L13
Error return value of `dialog.Release` is not checked (errcheck)
|
v2/internal/go-common-file-dialog/cfdutil/CFDUtil.go#L23
Error return value of `dialog.Release` is not checked (errcheck)
|
|
The logs for this run have expired and are no longer available.
Loading