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 { 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: user->create
// select category

View File

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

View File

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

View File

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