Open morcuended opened 5 months ago
I would not enable that, except for perhaps new committed lines.
I think it could be done for new committed lines. Either activating the precommit hook at the developer level (when you push a commit, it will be formatted, linted, etc). Another way would be to enable the precommit hook in CI but only for diff lines (I think this is also possible).
In any case, although it is not critical, IMO the whole code would benefit from a standard format check.
Do we want to enable automatic checks for format, syntax and linting? It would require to make a lot of modifications and cleanup of the code