forked from CringeStudios/gamja
Enable @stylistic/js/object-curly-spacing lint
This commit is contained in:
parent
9922d11654
commit
8d96f93fb5
@ -124,7 +124,7 @@ const commands = [
|
|||||||
if (args.length) {
|
if (args.length) {
|
||||||
params.push(args.join(" "));
|
params.push(args.join(" "));
|
||||||
}
|
}
|
||||||
getActiveClient(app).send({command: "AWAY", params});
|
getActiveClient(app).send({ command: "AWAY", params });
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
ban,
|
ban,
|
||||||
@ -190,9 +190,10 @@ const commands = [
|
|||||||
throw new Error("Missing nick");
|
throw new Error("Missing nick");
|
||||||
}
|
}
|
||||||
let activeChannel = getActiveChannel(app);
|
let activeChannel = getActiveChannel(app);
|
||||||
getActiveClient(app).send({ command: "INVITE", params: [
|
getActiveClient(app).send({
|
||||||
nick, activeChannel,
|
command: "INVITE",
|
||||||
]});
|
params: [nick, activeChannel],
|
||||||
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ ...join, name: "j" },
|
{ ...join, name: "j" },
|
||||||
|
@ -40,6 +40,7 @@ export default [
|
|||||||
"@stylistic/js/semi": "warn",
|
"@stylistic/js/semi": "warn",
|
||||||
"@stylistic/js/comma-dangle": ["warn", "always-multiline"],
|
"@stylistic/js/comma-dangle": ["warn", "always-multiline"],
|
||||||
"@stylistic/js/arrow-parens": "warn",
|
"@stylistic/js/arrow-parens": "warn",
|
||||||
|
"@stylistic/js/object-curly-spacing": ["warn", "always"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user