Closed ElectronicsArchiver closed 1 year ago
deno_fmt is used for formatting the code.
I'm not talking about post formatting though, editorconfig gives most editors simple hints to follow, so it doesn't insert tabs instead of spaces ( for example ) to begin with or keeps the correct amount for each key press.
it's called formatting.
Calling denos formatting command is Post-formatting, while an editorconfig file is Pre-formatting in this context.
One adjusts the content after the fact, the other prevents things from happening in the first place.
Both are valid and can be used together.
Have you considered adding an Editorconfig file to the repository?
I would recommend the following settings: