fantomas icon indicating copy to clipboard operation
fantomas copied to clipboard

Comment is unindented with MultilineBlockBracketsOnSameColumn

Open Smaug123 opened this issue 4 years ago • 0 comments

Issue created from fantomas-online

Code

[
    "thing"
    "thing2"
    // no other things
]

Result

[
    "thing"
    "thing2"
// no other things
]

Problem description

Extremely minor stylistic bug: I think it's clearly correct to indent the comment here.

Extra information

  • [ ] The formatted result breaks by code.
  • [ ] The formatted result gives compiler warnings.
  • [ ] I or my company would be willing to help fix this.

Options

Fantomas Master at 04/01/2021 13:17:28 - 82615ce1a3e64176255215d19ca7af0ba79c7f5b

    { config with
                MultilineBlockBracketsOnSameColumn = true }

Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?

Smaug123 avatar Apr 01 '21 13:04 Smaug123