1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix sonarjs max-switch-cases

This commit is contained in:
Bill Thornton 2022-10-03 09:50:00 -04:00
parent dfca85dea4
commit 857973ec45
2 changed files with 0 additions and 6 deletions

View file

@ -72,7 +72,6 @@ module.exports = {
'sonarjs/cognitive-complexity': ['warn'], 'sonarjs/cognitive-complexity': ['warn'],
// TODO: Enable the following rules and fix issues // TODO: Enable the following rules and fix issues
'sonarjs/max-switch-cases': ['off'],
'sonarjs/no-collapsible-if': ['off'], 'sonarjs/no-collapsible-if': ['off'],
'sonarjs/no-duplicate-string': ['off'], 'sonarjs/no-duplicate-string': ['off'],
'sonarjs/no-duplicated-branches': ['off'], 'sonarjs/no-duplicated-branches': ['off'],

View file

@ -123,16 +123,11 @@ function processGeneralCommand(cmd, apiClient) {
displayMessage(cmd); displayMessage(cmd);
break; break;
case 'ToggleOsd': case 'ToggleOsd':
// todo
break;
case 'ToggleContextMenu': case 'ToggleContextMenu':
// todo
break;
case 'SendKey': case 'SendKey':
// todo // todo
break; break;
case 'SendString': case 'SendString':
// todo
focusManager.sendText(cmd.Arguments.String); focusManager.sendText(cmd.Arguments.String);
break; break;
default: default: