-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Enable Lint Rule: import-shadowing #6102
Conversation
Hey @yurishkuro! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6102 +/- ##
==========================================
- Coverage 96.49% 96.48% -0.02%
==========================================
Files 352 352
Lines 19973 19973
==========================================
- Hits 19273 19270 -3
- Misses 518 520 +2
- Partials 182 183 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mind this linter, but I don't like your choice of replacement names - you are creating very verbose & hard to read names, e.g.:
- processor processor.SpanProcessor,
- consumer consumer.Consumer,
+ spanProcessor processor.SpanProcessor,
+ consumerInstance consumer.Consumer,
Go generally encourages the use of shorter names. It doesn't mean you have to go to p
and c
, but proc
and cons
would still be reasonably readable, much better than consumerInstance
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
please resolve conflicts |
Signed-off-by: Meet Soni <meetsoni3017@gmail.com>
Signed-off-by: Meet Soni <meetsoni3017@gmail.com>
Signed-off-by: Meet Soni <meetsoni3017@gmail.com>
90008e4
to
ee6352e
Compare
Signed-off-by: Meet Soni <meetsoni3017@gmail.com>
Thanks |
This reverts commit f9474f9.
Which problem is this PR solving?
Description of the changes
import-shadowing
in revive linter.How was this change tested?
make lint
make test
Checklist
jaeger
:make lint test