style: lint

This commit is contained in:
Isaac 2023-02-13 15:07:05 +00:00
parent b8dd1900e9
commit c3d6d70316
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33
5 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,4 @@
/* eslint-disable no-console */
const { randomBytes } = require('crypto'); const { randomBytes } = require('crypto');
const { short } = require('leeks.js'); const { short } = require('leeks.js');

View File

@ -13,7 +13,7 @@ module.exports = class CreateUserCommand extends UserCommand {
}); });
} }
async run(interaction) { async run(/* interaction */) {
// TODO: isStaff? // TODO: isStaff?
// TODO: user->create // TODO: user->create
// select category // select category

View File

@ -121,9 +121,9 @@ module.exports = class extends Listener {
// staleSince: Date.now(), // staleSince: Date.now(),
// }); // });
for (const [ticketId, $] of client.tickets.$stale) { // for (const [ticketId, $] of client.tickets.$stale) {
// ⌛ // // ⌛
} // }
}, ms('5m')); }, ms('5m'));
} }
}; };

View File

@ -1,3 +1,5 @@
// TODO
/* eslint-disable no-undef */
module.exports = joi.object({ module.exports = joi.object({
archive: joi.boolean().optional(), archive: joi.boolean().optional(),
autoClose: joi.number().min(3_600_000).optional(), autoClose: joi.number().min(3_600_000).optional(),

View File

@ -12,7 +12,7 @@ module.exports = class extends StdinCommand {
const toEval = input.join(' '); const toEval = input.join(' ');
try { try {
const res = await eval(toEval); const res = await eval(toEval);
console.log(res); console.log(res); // eslint-disable-line no-console
return true; return true;
} catch (error) { } catch (error) {
this.client.log.error(error); this.client.log.error(error);