Add all 16 *_by_lua_block and 9 *_by_lua directives to crossplane #196
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
cicd.yml
on: pull_request
Linting
14s
Unit Tests
0s
Annotations
7 errors and 2 warnings
Linting:
lex.go#L349
cognitive complexity 84 of func `(*LuaLexer).Lex` is high (> 30) (gocognit)
|
Linting:
lex.go#L191
unnecessary trailing newline (whitespace)
|
Linting:
lex.go#L411
unnecessary trailing newline (whitespace)
|
Linting:
lex_test.go#L525
Error return value of `encoding/json.MarshalIndent` is not checked: unsafe type `error` found (errchkjson)
|
Linting:
lex.go#L55
interface method Register must have named param for type LexScanner (inamedparam)
|
Linting:
lex.go#L97
Function name: tokenize, Cyclomatic Complexity: 52, Halstead Volume: 4626.51, Maintainability Index: 16 (maintidx)
|
Linting
issues found
|
Linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Linting:
lex_test.go#L514
unused-parameter: parameter 'path' seems to be unused, consider removing or renaming it as _ (revive)
|