-
Notifications
You must be signed in to change notification settings - Fork 196
handle multiline case for function_left_parentheses_linter #1960
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
Codecov Report
@@ Coverage Diff @@
## main #1960 +/- ##
=======================================
Coverage 98.95% 98.95%
=======================================
Files 113 113
Lines 4980 4990 +10
=======================================
+ Hits 4928 4938 +10
Misses 52 52
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
AshesITR
left a comment
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.
Quick question: Is it syntactically valid to have more than one line of difference?
x <- function
() {
42L
}
yes, that parses |
AshesITR
left a comment
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.
Do you want to add a test case for the case spanning more than two lines?
Rest looks good to me.
I think not necessary, b/c the XPath condition is just |
Closes #1953
Open to suggestions for avoiding the horrible
range_end_xpathbut I wasn't seeing anything...