walle / lll

Line length linter
MIT License
65 stars 9 forks source link

Allow excluding imports from lll #15

Open OscarVanL opened 2 years ago

OscarVanL commented 2 years ago

We have some long imports which exceed our lll length configuration.

We'd like to disable lll from anything inside import ( XYZ ) as there's not really much we can do about these import lengths.

Is there any way this could be added as a configuration?

Thanks!

Antonboom commented 1 year ago

Implemented on golangci-lint side – https://github.com/golangci/golangci-lint/pull/3288

OscarVanL commented 1 year ago

Thank you!