mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-16 00:17:01 +03:00
add eslint rule for no-console
This commit is contained in:
@@ -79,6 +79,7 @@ class Logger {
|
||||
if (levelStr.length === 4) {
|
||||
levelStr += " "; // ensure logs are aligned
|
||||
}
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(colors.Dim, `${levelStr} ${new Date().toISOString()}: `, color, str, colors.Reset);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user