From b5ea2e59c42c6808e9d1959187e16d07b2abf9ee Mon Sep 17 00:00:00 2001 From: Hugo Manrique Date: Wed, 21 Apr 2021 22:31:21 +0200 Subject: [PATCH] Change ESLint disabled rule name The rule was moved from standard to plugin-node, see https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-callback-literal.md. --- lib/database.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/database.js b/lib/database.js index bd7c603..48b74d2 100644 --- a/lib/database.js +++ b/lib/database.js @@ -170,10 +170,10 @@ class Database { // Allow null timestamps, the frontend will safely handle them // This allows insertion of free standing records without a known timestamp if (playerCount !== null) { - // eslint-disable-next-line standard/no-callback-literal + // eslint-disable-next-line node/no-callback-literal callback(true, playerCount, timestamp) } else { - // eslint-disable-next-line standard/no-callback-literal + // eslint-disable-next-line node/no-callback-literal callback(false) } })