diff --git a/commands.js b/commands.js index fbeda5a..ab3cc4f 100644 --- a/commands.js +++ b/commands.js @@ -124,7 +124,7 @@ const commands = [ if (args.length) { params.push(args.join(" ")); } - getActiveClient(app).send({command: "AWAY", params}); + getActiveClient(app).send({ command: "AWAY", params }); }, }, ban, @@ -190,9 +190,10 @@ const commands = [ throw new Error("Missing nick"); } let activeChannel = getActiveChannel(app); - getActiveClient(app).send({ command: "INVITE", params: [ - nick, activeChannel, - ]}); + getActiveClient(app).send({ + command: "INVITE", + params: [nick, activeChannel], + }); }, }, { ...join, name: "j" }, diff --git a/eslint.config.js b/eslint.config.js index fa866b5..fb899c2 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -40,6 +40,7 @@ export default [ "@stylistic/js/semi": "warn", "@stylistic/js/comma-dangle": ["warn", "always-multiline"], "@stylistic/js/arrow-parens": "warn", + "@stylistic/js/object-curly-spacing": ["warn", "always"], }, }, ];