You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
// Save provides a complex save method using third-party library with really long method names.funcSave() {
...verylonglineofcode//nolint:lll...anotherverylonglineofcode//nolint:lll...onemore//nolint:lll...
}
I have just had the experience of ignore lll reports like @AlekSi mentioned, and I've been wanting this feature too.
Can I be the assignee for this Issue?
I'm thinking of doing ignore as follows.
func Save() {
//nolint-begin:lll
very long line of code
another very long line of code
one more
...
//nolint-end:lll
}
Please give your opinions on this idea. (And other opinions are also verrry welcome.)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Activity
AlekSi commentedon Jul 25, 2018
I would like to see this implemented. My use-case: disable
gocyclo
for a specific exported method without exposingnolint:gocyclo
in the godoc.AlekSi commentedon Oct 16, 2019
Stale bot went rampant. @jirfag please reopen.
stale commentedon Apr 13, 2020
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
AlekSi commentedon Apr 13, 2020
That's still a problem.
theckman commentedon May 18, 2020
@AlekSi is there a reason you're not able to do:
AlekSi commentedon May 18, 2020
A better exemple coud be:
theckman commentedon May 18, 2020
@AlekSi I appreciate that other use cases exist, I was asking if my suggestion works for your specific challenge above.
sanposhiho commentedon May 3, 2021
I have just had the experience of ignore
lll
reports like @AlekSi mentioned, and I've been wanting this feature too.Can I be the assignee for this Issue?
I'm thinking of doing ignore as follows.
Please give your opinions on this idea. (And other opinions are also verrry welcome.)
stale commentedon Jul 10, 2022
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.