You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
writeLines("
lm( # cool regression
y ~ x
)
", tmp <- tempfile())
lintr::lint(tmp, lintr::spaces_inside_linter)
# /tmp/RtmpAD3BJR/file41eb53c52da:2:4: style: Do not place spaces around code in parentheses or square brackets.
# lm( # cool regression
# ^
trailing whitespace should be ignored if there is no code after the the (.
The text was updated successfully, but these errors were encountered:
MichaelChirico
changed the title
infix_spaces_linter doesn't ignore trailing comments
spaces_inside_linter doesn't ignore trailing comments
Nov 30, 2020
Found in the course of working on #598
trailing whitespace should be ignored if there is no code after the the
(
.The text was updated successfully, but these errors were encountered: