Auto formatting leads to warnings

Answered

Hi there,

I'm trying to create an `.editorconfig` file to ensure that we use a consistent code style at work.
I have set all inspections to `warnings`, and when I use auto formatting, this is what Rider / ReSharper comes up with:

There's a clear warning just before the `static` field which says: Line break is redundant around parenthesis.

The complete `.editorconfig` file which I'm using can be found here: My new .editorconfig (github.com)
Anyone who has an idea what's wrong and how to solve this issue?
Btw, I don't like disabling this inspection, I would like the formatting to be correct.

Thanks in advance.

1 comment
Comment actions Permalink

Hello Kevin,

Could you please share with us a code sample where the issue reproduces? You can click the "Submit a request" button at the upper right corner of this page and send your code sample to us for further investigation. Thank you.

0

Please sign in to leave a comment.