codeformatter
codeformatter copied to clipboard
NewLineAbove inserts empty newline when no usings are present
I assume this rule ensures that there is a newline between usings and namespace declaration. However, it should not insert an empty newline if there are no usings like in the below example.
namespace abc
{
public enum Term
{
First,
Second,
Third,
Fourth,
Fifth,
Sixth,
Seventh,
Eighth,
Ninth,
Tenth,
Eleventh,
Twelfth
}
}