ultraware / funlen

MIT License
37 stars 8 forks source link

Ignore comments #20

Closed jadegopher closed 4 months ago

jadegopher commented 4 months ago

I think comments do not add any complexity to the functions and besides provide more context and describe non obvious parts of code.

May be it would be cool to add feature that allows ignore comment lines?

martialblog commented 4 months ago

Hi,

Should already be a thing with ignore-comments: true

https://golangci-lint.run/usage/linters/#funlen

But maybe the README here should also reflect that.

Regards, Markus

robinknaapen commented 4 months ago

Closed by #21