Automating formatting for official D repos
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Wed Jan 24 21:58:03 UTC 2024
On 25/01/2024 10:36 AM, kdevel wrote:
> On Monday, 22 January 2024 at 16:24:48 UTC, Richard (Rikki) Andrew
> Cattermole wrote:
>> [...]
>> With an automatic formatting tool, we can simply fix the code and move
>> on with our lives. No nitpicking, no asking how do I fix this error,
>> just ready to merge code!
>
> What if a contributor thinks their whole code shall be exempt from
> reformatting by putting
>
> // dfmt off
>
> in the very first line of the translation unit?
We do the same thing we do today if someone disables style checks
without a very good reason.
Push back and get them to turn it back on.
More information about the Digitalmars-d
mailing list