This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
CI/fmt: enforce exact line width, not just less than that. #12404
kianenigma
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure if this is feasible, so opening it as a discussion rather than an issue.
Perhaps I am the only one annoyed by line width in comments, but I think even with
max_width
and others, we see code comments in substrate like:and I find that very irritating to the eye when reading code.
I personally use https://marketplace.visualstudio.com/items?itemName=stkb.rewrap to make sure comments that I write are perfectly aligned with the 100 max width.
Does anyone know a tool such that we can apply this to the whole codebase, and ideally maintain it?
Beta Was this translation helpful? Give feedback.
All reactions