forked from CringeStudios/gamja
eslint: enable object-shorthand
This commit is contained in:
parent
db0a69dcfd
commit
75eb175e24
@ -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",
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user