5 ms·
I assume their build system checks for formatting and will raise an error if it doesn't conform. And this person would use the VS Code extension to auto-conform
by amaccuish 8y ago
I assume their build system checks for formatting and will raise an error if it doesn't conform. And this person would use the VS Code extension to auto-conform their code.
- TeMPOraL 8y agoI'm questioning the soundness of such setup in general, and especially if it means that losing connection to a third-party prettifier makes you unable to work on your own codebase.
- Vinnl 8y agoHmm, the alternatives are not enforcing a similar code style, or enforcing it earlier on (e.g. on commit). I can understand why they would not want the former, and the latter is more annoying when experimenting, i.e. when code style does not matter that much yet. Thus, in CI sounds like the right choice.
- w0m 8y agoI'd go for precommit hook or similar, but not a huge deal.
- kiallmacinnes 8y agoTheir not unable to work, they just don't have a "format this according to the rules our codebase has set out" button. They can also just format their code according to the rules by hand..