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
The rule flags the arrow function as being formatted incorrectly. The code fix removes the 4 space indent on the lines after the arrow but the rule still flags the block of code as being incorrectly formatted.
If I wrap the block of code in braces the rule no longer flags this piece of code which is why I believe it's related to using top-level statements.
Something else I noticed is the error in my build output says RCS0053: Fix formatting of arguments while the docs say RCS0053: Fix formatting of a list.
Expected Behavior:
Given the config being used I'd expect the formatting of this piece of code to not flag any formatting rules.
The text was updated successfully, but these errors were encountered:
Product and Version Used: 4.1.0
Steps to Reproduce: The full code triggering this can be seen here and a branch with the error is here xt0rted/dotnet-run-script#11.
Actual Behavior:
The rule flags the arrow function as being formatted incorrectly. The code fix removes the 4 space indent on the lines after the arrow but the rule still flags the block of code as being incorrectly formatted.
If I wrap the block of code in braces the rule no longer flags this piece of code which is why I believe it's related to using top-level statements.
Something else I noticed is the error in my build output says
RCS0053: Fix formatting of arguments
while the docs sayRCS0053: Fix formatting of a list
.Expected Behavior:
Given the config being used I'd expect the formatting of this piece of code to not flag any formatting rules.
The text was updated successfully, but these errors were encountered: