Skip to content

fix(vscode:extension): use closure to pass actual index to the webvie… #513

fix(vscode:extension): use closure to pass actual index to the webvie…

fix(vscode:extension): use closure to pass actual index to the webvie… #513

Triggered via push November 18, 2023 12:17
Status Failure
Total duration 23s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: internal/compiler/parser/listener_helpers.go#L186
parseEntityRef - result 1 (error) is always nil (unparam)
lint: pkg/typesystem/scope_test.go#L19
GetType returns interface (github.com/nevalang/neva/pkg/typesystem.Scope) (ireturn)
lint: internal/compiler/parser/listener_helpers.go#L228
variable name 'in' is too short for the scope of its usage (varnamelen)
lint: internal/compiler/analyzer/const.go#L17
cognitive complexity 39 of func `(Analyzer).analyzeConst` is high (> 30) (gocognit)
lint: internal/compiler/analyzer/component.go#L191
`(Analyzer).checkNodeUsage` - `scope` is unused (unparam)
lint: internal/compiler/analyzer/component.go#L220
`(Analyzer).getReceiverType` - `nodesIfaces` is unused (unparam)
lint: internal/compiler/analyzer/main_component.go#L76
`(Analyzer).analyzeMainComponentNodes` - `pkg` is unused (unparam)
lint: internal/compiler/analyzer/const.go#L43
S1002: should omit comparison to bool constant, can be simplified to `cnst.Value.Bool` (gosimple)
lint: internal/compiler/analyzer/const.go#L47
S1002: should omit comparison to bool constant, can be simplified to `cnst.Value.Bool` (gosimple)
lint: internal/compiler/analyzer/const.go#L51
S1002: should omit comparison to bool constant, can be simplified to `cnst.Value.Bool` (gosimple)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/