trim_trailing_whitespace

Remove trailing whitespace from each line.

Value Notes
true
false

Default: true

No known case where Curb's output is not a fixed point of dotnet format — see conformance.

Ini
trim_trailing_whitespace = true
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
trim_trailing_whitespace = false
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;
    }
}