Add eslint workflow action and CONTRIBUTING.md that says to lint first #66

Merged
thepaperpilot merged 6 commits from thepaperpilot/Profectus:feat/enforce-eslint into main 2024-03-06 04:45:20 +00:00
Showing only changes of commit df9ba59a1a - Show all commits

View file

@ -108,7 +108,7 @@ document.onkeydown = function (e) {
if (e.ctrlKey) {
key = "ctrl+" + key;
}
const hotkey = hotkeys[key];
const hotkey = hotkeys[key] ?? hotkeys[key.toLowerCase()];
if (hotkey && unref(hotkey.enabled)) {
e.preventDefault();
hotkey.onPress();