mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-21 10:28:14 -05:00
eslint: enable object-shorthand
This commit is contained in:
parent
db0a69dcfd
commit
75eb175e24
2 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue