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:
parent
dfca85dea4
commit
857973ec45
2 changed files with 0 additions and 6 deletions
|
@ -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'],
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue