-
Notifications
You must be signed in to change notification settings - Fork 186
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
New empty_assignment_linter #1637
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1637 +/- ##
=======================================
Coverage 98.26% 98.27%
=======================================
Files 99 100 +1
Lines 4376 4394 +18
=======================================
+ Hits 4300 4318 +18
Misses 76 76
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
These should produce lints, right? library(lintr)
{} -> x
x
#> NULL
lint(text = "{} -> x", linters = empty_assignment_linter())
lint(text = "{} ->> x", linters = empty_assignment_linter()) Created on 2022-10-08 with reprex v2.0.2 P.S. Funny branch name 😆 |
yep; had left it as a TODO but it's a trivial addition; done
😅 |
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.
Cool stuff. Thanks!
Part of #884