Enable linter in the CI #97
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
8 errors and 1 warning
lint:
proof/proof.go#L475
cognitive complexity 21 of func `(*orPred).commit` is high (> 20) (gocognit)
|
lint:
share/vss/rabin/vss_test.go#L370
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
shuffle/shuffle_test.go#L63
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
proof/proof.go#L487
`if w == nil` has complex nested blocks (complexity: 6) (nestif)
|
lint:
share/dkg/rabin/dkg.go#L378
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
share/dkg/rabin/dkg.go#L387
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
share/dkg/rabin/dkg.go#L606
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
|
lint
Process completed with exit code 2.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|