Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore comments #20

Closed
jadegopher opened this issue Jul 4, 2024 · 2 comments
Closed

Ignore comments #20

jadegopher opened this issue Jul 4, 2024 · 2 comments

Comments

@jadegopher
Copy link

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
Copy link
Contributor

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
Copy link
Contributor

Closed by #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants