Skip to content

revive: cut output from exported rule #1993

Closed
@gucio321

Description

@gucio321

Is your feature request related to a problem? Please describe.
Hi there, sometimes, output from revive linter is really long, like

exported: exported var DataVar should have comment or be unexported (revive)
var DataVar map[int]string {
1: "s1",
2:"s2",
3:"s3",

e.t.c.

2000:"s2000",
}

in my opinion it is a bit hard to read. is it possible to cut it?

Describe the solution you'd like
e.g., linter should print up to x lines of cod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions