ModularM
Modular3y ago
4 replies
Henk-Jan Lebbink

Does a pragma exist to switch off `mojo format`

I love the convention part of source code formatting rules: teams should not argue (too much) about formatting. Do this discussion once, agree on something that works for everyone (convention). Let the standard tooling handle it.

However, teams often agree that it needs to be switched off sometimes.

Question: Is there something to switch off sections of code that should not be formatted. A @format on/off would do.
Was this page helpful?