Reformat code to fix indentation#2459
Reformat code to fix indentation#2459uklotzde merged 1 commit intomixxxdj:2.2from uklotzde:denon-mc6000mk2-midi
Conversation
|
If you prefer to indent switch case statements as well, we can also add |
|
Btw, I updated the wiki and replaced instructions regarding jshint/jsbeautifier with eslint. |
|
I have selected ESLint as the formatter in VS Code using our configuration. |
|
Ah OK, so there's manual work involved to use eslint for VSCode? I misinterpreted your comment then. Since VSCode is quite popular it might make sense to add the relevant config to the wiki? In any case, would you rather prefer to merge this PR or change the indent settings for switch cases in |
|
VS Code integration:
|
|
The ESLint warnings are shown without any extra configuration. Only the formatter requires attention. Not sure if VS Code asked after installation of the extension. |
|
@Holzhaus Let's keep the non-indented case labels here like we do for the C++ style. It's readable and reduces whitespace bloat. |
The result of applying #2458