Fix sonarjs max-switch-cases
This commit is contained in:
@@ -72,7 +72,6 @@ module.exports = {
|
||||
|
||||
'sonarjs/cognitive-complexity': ['warn'],
|
||||
// TODO: Enable the following rules and fix issues
|
||||
'sonarjs/max-switch-cases': ['off'],
|
||||
'sonarjs/no-collapsible-if': ['off'],
|
||||
'sonarjs/no-duplicate-string': ['off'],
|
||||
'sonarjs/no-duplicated-branches': ['off'],
|
||||
|
||||
@@ -123,16 +123,11 @@ function processGeneralCommand(cmd, apiClient) {
|
||||
displayMessage(cmd);
|
||||
break;
|
||||
case 'ToggleOsd':
|
||||
// todo
|
||||
break;
|
||||
case 'ToggleContextMenu':
|
||||
// todo
|
||||
break;
|
||||
case 'SendKey':
|
||||
// todo
|
||||
break;
|
||||
case 'SendString':
|
||||
// todo
|
||||
focusManager.sendText(cmd.Arguments.String);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user