diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-12-16 20:04:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-17 01:04:56 +0000 |
commit | b249627434d3a94420ac4d98c3ce720767e57b43 (patch) | |
tree | ec46e2c020c5a63a5c2babf56376f53e288ed7f2 /ext/js/pages/settings/keyboard-mouse-input-field.js | |
parent | decbc60f7734e739c0e5c41da294f65f9eec92fe (diff) |
Update eslint spacing rules (#366)
* Add space-infix-ops rule
* Add no-multi-spaces
---------
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
Diffstat (limited to 'ext/js/pages/settings/keyboard-mouse-input-field.js')
-rw-r--r-- | ext/js/pages/settings/keyboard-mouse-input-field.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/pages/settings/keyboard-mouse-input-field.js b/ext/js/pages/settings/keyboard-mouse-input-field.js index f0a53f1a..99af3941 100644 --- a/ext/js/pages/settings/keyboard-mouse-input-field.js +++ b/ext/js/pages/settings/keyboard-mouse-input-field.js @@ -30,7 +30,7 @@ export class KeyboardMouseInputField extends EventDispatcher { * @param {?import('environment').OperatingSystem} os * @param {?(pointerType: string) => boolean} [isPointerTypeSupported] */ - constructor(inputNode, mouseButton, os, isPointerTypeSupported=null) { + constructor(inputNode, mouseButton, os, isPointerTypeSupported = null) { super(); /** @type {HTMLInputElement} */ this._inputNode = inputNode; @@ -65,7 +65,7 @@ export class KeyboardMouseInputField extends EventDispatcher { * @param {boolean} [mouseModifiersSupported] * @param {boolean} [keySupported] */ - prepare(key, modifiers, mouseModifiersSupported=false, keySupported=false) { + prepare(key, modifiers, mouseModifiersSupported = false, keySupported = false) { this.cleanup(); this._mouseModifiersSupported = mouseModifiersSupported; |