jval #58
Annotations
10 errors and 4 warnings
lint:
jval/decoder.go#L50
cognitive complexity 39 of func `(Decoder).Decode` is high (> 30) (gocognit)
|
lint:
jq/index.go#L97
cognitive complexity 54 of func `(*Index).next` is high (> 30) (gocognit)
|
lint:
jq/object.go#L53
cognitive complexity 45 of func `(*Object).next` is high (> 30) (gocognit)
|
lint:
jq/object.go#L124
weakCond: suspicious `stack != nil && stack[j].n == nil`; nil check may not be enough, check for len (gocritic)
|
lint:
jval/decoder.go#L123
todoCommentWithoutDetail: may want to add detail/assignee to this TODO/FIXME/BUG comment (gocritic)
|
lint:
jval/decoder.go#L21
Comment should end in a period (godot)
|
lint:
jq/index.go#L61
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
lint:
jq/comma_test.go#L88
ineffectual assignment to i (ineffassign)
|
lint:
jq/index_test.go#L37
SA4006: this value of `w` is never used (staticcheck)
|
lint
issues found
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|