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
// Package option commentpackage option
// OptionWhatever is prefixed with the package name which is repetitivefuncOptionWhatever() {} // MATCH /func name will be used as option.OptionWhatever by other packages, and that is repetitive; consider calling this Whatever/
I would like to detect this
// Package option commentpackage option
// WhateverOption is suffixed with the package name which is repetitivefuncWhateverOption() {} // MATCH /func name will be used as option.WhateverOption by other packages, and that is repetitive; consider calling this Whatever/
The changes are pretty limited.
But I would like to open the debate. I was surprised to only see that prefix where detected.
The text was updated successfully, but these errors were encountered:
Currently, revive detects this
I would like to detect this
The changes are pretty limited.
But I would like to open the debate. I was surprised to only see that prefix where detected.
The text was updated successfully, but these errors were encountered: