rule.go -- 1. made changes for recoding rule timings 2. printing tran… #5
Annotations
7 errors
lint:
types/transaction.go#L199
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
internal/transformations/lowercase.go#L17
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
internal/transformations/remove_nulls.go#L16
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
internal/corazawaf/rule.go#L224
assignOp: replace `val = val + elapsedTime` with `val += elapsedTime` (gocritic)
|
lint:
internal/transformations/remove_nulls.go#L11
func `removeNulls` is unused (unused)
|
lint:
internal/corazawaf/rule.go#L258
S1002: should omit comparison to bool constant, can be simplified to `record_rule_timings` (gosimple)
|
lint
Process completed with exit code 1.
|