Skip to content

Missing option 'exclude' in lll linter settings #3020

Closed
@Nitjsefni7

Description

@Nitjsefni7

Your feature request related to a problem? Please describe.

As I have seen that lll linter allows to set flag --exclude to exclude lines that matches regex, I was wondering if it would be possible to add this option to linter settings in linters configuration. It will be helpful to skip for example structs tags.

Describe the solution you'd like.

Add option -exclude for lll settings

lll:
    tab-width: 4
    line-length: 140
    exclude: <regex>

Describe alternatives you've considered.

For now to omit checking for specific lines comment // nolint: lll have to be used.

Additional context.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions