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.

Ini
dotnet_diagnostic.ide0055.severity = none
C#
namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double( )
    {
        return Value*2;
    }
}
C#
namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double( )
    {
        return Value*2;
    }
}
Ini
dotnet_diagnostic.ide0055.severity = silent
C#
namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double()
    {
        return Value * 2;
    }
}
C#
namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double()
    {
        return Value * 2;
    }
}
Ini
dotnet_diagnostic.ide0055.severity = suggestion
C#
namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double()
    {
        return Value * 2;
    }
}
C#
namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double()
    {
        return Value * 2;
    }
}
Ini
dotnet_diagnostic.ide0055.severity = warning
C#
namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double( )
    {
        return Value*2;
    }
}
C#
namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double()
    {
        return Value * 2;
    }
}
Ini
dotnet_diagnostic.ide0055.severity = error
C#
namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double()
    {
        return Value * 2;
    }
}
C#
namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double()
    {
        return Value * 2;
    }
}