dotnet_diagnostic.ide0055.severity
Set this to none to opt a file out of formatting.
| Value | Notes |
|---|---|
none |
Curb leaves the file as written. dotnet format whitespace still formats it. |
silent |
Formats the file, the same as warning. |
suggestion |
Formats the file, the same as warning. |
warning |
|
error |
Formats the file, the same as warning. |
Default: warning
No known case where Curb's output is not a fixed point of dotnet format — see conformance.
dotnet_diagnostic.ide0055.severity = none
namespace N;
public class Widget
{
public int Value { get; set; }
public int Double( )
{
return Value*2;
}
}
namespace N;
public class Widget
{
public int Value { get; set; }
public int Double( )
{
return Value*2;
}
}
dotnet_diagnostic.ide0055.severity = silent
namespace N;
public class Widget
{
public int Value { get; set; }
public int Double()
{
return Value * 2;
}
}
namespace N;
public class Widget
{
public int Value { get; set; }
public int Double()
{
return Value * 2;
}
}
dotnet_diagnostic.ide0055.severity = suggestion
namespace N;
public class Widget
{
public int Value { get; set; }
public int Double()
{
return Value * 2;
}
}
namespace N;
public class Widget
{
public int Value { get; set; }
public int Double()
{
return Value * 2;
}
}
dotnet_diagnostic.ide0055.severity = warning
namespace N;
public class Widget
{
public int Value { get; set; }
public int Double( )
{
return Value*2;
}
}
namespace N;
public class Widget
{
public int Value { get; set; }
public int Double()
{
return Value * 2;
}
}
dotnet_diagnostic.ide0055.severity = error
namespace N;
public class Widget
{
public int Value { get; set; }
public int Double()
{
return Value * 2;
}
}
namespace N;
public class Widget
{
public int Value { get; set; }
public int Double()
{
return Value * 2;
}
}