Skip to content

Commit

Permalink
fix: linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverschwendener committed Aug 31, 2024
1 parent cc47868 commit 06a8355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/Core/Hotkey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const isValidKeyCode = (keyCode: string): boolean => {
(keyCode: string) => /^[a-zA-Z]$/.test(keyCode), // a-z, A-Z
(keyCode: string) => /^(F[1-9]|F1[0-9]|F2[0-4])$/.test(keyCode), // F1-F24
(keyCode: string) => /^num[0-9]$/.test(keyCode), // num0-num9
(keyCode: string) => /^([)!@#$%^&*(:;+=<,_\->.?\/~`{\]\[|\\}"])$/.test(keyCode),
(keyCode: string) => /^([)!@#$%^&*(:;+=<,_\->.?/~`{\][|\\}"])$/.test(keyCode),
(keyCode: string) =>
/^(Plus|Space|Tab|Capslock|Numlock|Scrolllock|Backspace|Delete|Insert|Return|Up|Down|Left|Right|Home|End|PageUp|PageDown|Escape|VolumeUp|VolumeDown|VolumeMute|MediaNextTrack|MediaPreviousTrack|MediaStop|MediaPlayPause|PrintScreen)$/.test(
keyCode,
Expand Down

0 comments on commit 06a8355

Please sign in to comment.