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
I am not sure if this is the same as tidyverse/style#197, but here is another instance where indentation_linter() lints code that {styler} thinks is in line with the tidyverse style guide:
library(lintr)
"out <- data.frame(.ci_generic(x, ci = ci, ...))"->code# styler won't change this codestyler::style_text(code)
#> out <- data.frame(.ci_generic(x,#> ci = ci,#> ...#> ))# but lintr will lint this code
lint(text=code, linters= indentation_linter())
#> <text>:2:2: style: [indentation_linter] Indentation should be 20 spaces but is 2 spaces.#> ci = ci,#> ^~~~~~~~~~
I think this might be a bug. What's the behavior with only one call?
IINM, that would be acceptable tidyverse indentation style for multi-line function calls.
I am not sure if this is the same as tidyverse/style#197, but here is another instance where
indentation_linter()
lints code that{styler}
thinks is in line with the tidyverse style guide:Created on 2023-01-11 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: