Skip to content

Any plans on adding a --lint flag #67

@vitorf7

Description

@vitorf7

Hi, first of all, thank you so much for the hard work and this tool.
Recently at work, I have been trying to standardise our way of using golangci-lint and I have seen that there is a lll linter but I was not really happy with it as it just cares about long lines does not take a lot of things into consideration as golines does which is why I prefer golines.

My question is if there is any plan to maybe add something like a --lint flag so that golines only shows the errors for the lines that need to be changed, etc?
I guess this is somewhere between the --list-files and --dry-run but without showing all the changes I think.

I would like to know your thoughts, and if something like this could be achieved. If so, although not a golang guru myself I would love to try and help to achieve this maybe you'd need to let me know your thoughts and where I could begin.
I remember seeing a conversation about golines and someone asking to add it to golangci-lint here golangci/golangci-lint#1914 , so maybe adding a --lint flag would probably help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions