eslint: enable object-shorthand

This commit is contained in:
Simon Ser 2024-11-16 12:28:17 +01:00
parent db0a69dcfd
commit 75eb175e24
2 changed files with 2 additions and 1 deletions

View file

@ -27,6 +27,7 @@ export default [
"no-invalid-this": "error",
"prefer-arrow-callback": "error",
"no-implicit-coercion": "warn",
"object-shorthand": "warn",
"@stylistic/js/indent": ["warn", "tab"],
"@stylistic/js/quotes": ["warn", "double"],
"@stylistic/js/semi": "warn",

View file

@ -853,7 +853,7 @@ export default class Client extends EventTarget {
}
let msg = {
command: "JOIN",
params: params,
params,
};
return this.roundtrip(msg, (msg) => {
switch (msg.command) {