Implements Scanner type for tokenizing nginx configs #288
Annotations
9 errors and 4 warnings
lua.go#L179
field `scanner` is unused (unused)
|
lua.go#L180
field `matchedToken` is unused (unused)
|
lua.go#L181
field `lua` is unused (unused)
|
lua.go#L182
field `ch` is unused (unused)
|
scanner.go#L19
type `scannerOptionFunc` is unused (unused)
|
scanner.go#L21
func `scannerOptionFunc.applyScanner` is unused (unused)
|
scanner.go#L332
Tokenizer returns interface (github.com/nginxinc/nginx-go-crossplane.Tokenizer) (ireturn)
|
scanner.go#L119
Function name: Scan, Cyclomatic Complexity: 47, Halstead Volume: 4265.99, Maintainability Index: 18 (maintidx)
|
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
scanner.go#L314
error-naming: error var TokenizerDone should have name of the form ErrFoo (revive)
|
lex_test.go#L463
unused-parameter: parameter 'options' seems to be unused, consider removing or renaming it as _ (revive)
|
lua.go#L185
unused-parameter: parameter 's' seems to be unused, consider removing or renaming it as _ (revive)
|
This job failed
Loading