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",
|
"no-invalid-this": "error",
|
||||||
"prefer-arrow-callback": "error",
|
"prefer-arrow-callback": "error",
|
||||||
"no-implicit-coercion": "warn",
|
"no-implicit-coercion": "warn",
|
||||||
|
"object-shorthand": "warn",
|
||||||
"@stylistic/js/indent": ["warn", "tab"],
|
"@stylistic/js/indent": ["warn", "tab"],
|
||||||
"@stylistic/js/quotes": ["warn", "double"],
|
"@stylistic/js/quotes": ["warn", "double"],
|
||||||
"@stylistic/js/semi": "warn",
|
"@stylistic/js/semi": "warn",
|
||||||
|
|
|
@ -853,7 +853,7 @@ export default class Client extends EventTarget {
|
||||||
}
|
}
|
||||||
let msg = {
|
let msg = {
|
||||||
command: "JOIN",
|
command: "JOIN",
|
||||||
params: params,
|
params,
|
||||||
};
|
};
|
||||||
return this.roundtrip(msg, (msg) => {
|
return this.roundtrip(msg, (msg) => {
|
||||||
switch (msg.command) {
|
switch (msg.command) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue