3 ms·
In the times of standard code formatters for every language, isn't this just a display problem? For JavaScript, you could simply force the code to be saved as
by k__ 8y ago
In the times of standard code formatters for every language, isn't this just a display problem?
For JavaScript, you could simply force the code to be saved as prettier formatted without any config.
If you display it, however, you can let your editor apply whatever format you like. So you would have one source of truth in the repo and whatever you like in your editor.