styler icon indicating copy to clipboard operation
styler copied to clipboard

Styler and lintr disagree on what happens after a linebreak

Open dsweber2 opened this issue 10 months ago • 2 comments

Styler auto-formats to:

  if (TRUE ||
    FALSE) {
    TRUE
  }

While linter prefers:

  if (TRUE ||
        FALSE) {
    TRUE
  }

I don't really have strong opinions on which of these should happen, I would just like my tools to not contradict each other. It makes CI a mess. paired issue https://github.com/r-lib/lintr/issues/2535

dsweber2 avatar Mar 27 '24 17:03 dsweber2