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:
parent
a33f417457
commit
b5ea2e59c4
@ -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)
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user