-
Notifications
You must be signed in to change notification settings - Fork 195
include line length in lint message #2066
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 #2066 +/- ##
=======================================
Coverage 99.64% 99.64%
=======================================
Files 117 117
Lines 5055 5058 +3
=======================================
+ Hits 5037 5040 +3
Misses 18 18
|
R/line_length_linter.R
Outdated
| type = "style", | ||
| message = lint_message, | ||
| line = source_expression$file_lines[long_line], | ||
| ranges = list(c(1L, line_lengths[long_line])) |
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.
WDYT about ranges being list(c(length + 1, line_length)) instead?
Closes #2057