-
Notifications
You must be signed in to change notification settings - Fork 39
Report unused type declarations in Lint/UselessAssign
rule
#430
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
Conversation
As type declarations are often used as part of DSLs and within accessor macros, I see no reliable way to mark them as unused assignments. |
8723421
to
c5f7400
Compare
@veelenga Ready for review. |
It's a tough one. Need more time to review. |
I'm thinking of adding an option to exclude type declarations - in case someone would use 'em in their DSLs, WDYT @veelenga? |
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.
LGTM. No comments/suggestions on my end, good work
Resolves #429