From 6380735d49f225a379db860a0a7f665042faec94 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 4 Feb 2021 21:02:06 -0500 Subject: [PATCH] Fix lint --- commands/games-sp/minesweeper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/games-sp/minesweeper.js b/commands/games-sp/minesweeper.js index 115cbcb0..33e31070 100644 --- a/commands/games-sp/minesweeper.js +++ b/commands/games-sp/minesweeper.js @@ -95,7 +95,7 @@ module.exports = class MinesweeperCommand extends Command { await msg.say('You cannot flag a range.'); continue; } - // eslint-disable max-depth + /* eslint-disable max-depth */ if (xRange) { for (let i = x; i <= xRange; i++) { if (flag) { @@ -159,7 +159,7 @@ module.exports = class MinesweeperCommand extends Command { if (win === true || win === false) break; } } - // eslint-enable max-depth + /* eslint-enable max-depth */ const newScore = Date.now() - startTime; const highScoreGet = await this.client.redis.get(`minesweeper-${size}`); const highScore = highScoreGet ? Number.parseInt(highScoreGet, 10) : null;