Skip to content

nolint comments are not working #468

Closed
@dvyukov

Description

@dvyukov

//nolint comments are not working, I am getting:

pkg/ifuzz/decode.go:13:1: cyclomatic complexity 75 of func `Decode` is high (> 24) (gocyclo)
func Decode(mode int, text []byte) (int, error) { //nolint:gocyclo
golangci-lint has version v1.15.0-21-gf516771 built from f516771 on Thu Mar 28 14:06:02 CET 2019

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: cgoRelated to CGO or line directivesarea: nolintRelated to nolint directive and nolintlintbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions