I too am a fan of not having to do line breaks in text. But I recently shifted my opinion here, since having single long lines ("auto line breaked" by markdown renderer) makes it hard to see changes in git!
E.g. quite hard to see the single letter typo fix I did here:
But if line breaks would be part of the text itself, it would have been trivial.
The drawback of it is, ofc, that we are forcing a certain line width to readers! Which might be OK in a code base, but since this a blog, that might not be the right choice here!
Description
I fixed some typos.
Suggestions
typos
+pre-commit
I used
typos
crate, which is great! We might consider adding apre-commit
hook running typos, like Radix does in Sargon (can be ) (it can be configured)Line break
I too am a fan of not having to do line breaks in text. But I recently shifted my opinion here, since having single long lines ("auto line breaked" by markdown renderer) makes it hard to see changes in git!
E.g. quite hard to see the single letter typo fix I did here:
But if line breaks would be part of the text itself, it would have been trivial.
The drawback of it is, ofc, that we are forcing a certain line width to readers! Which might be OK in a code base, but since this a blog, that might not be the right choice here!