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.
This commit is contained in:
Hugo Manrique 2021-04-21 22:31:21 +02:00
parent a33f417457
commit b5ea2e59c4
No known key found for this signature in database
GPG Key ID: A60730A4A4ACE782

@ -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)
}
})