From 8dbc10efd74c35fa78f4ecc3b36e876d4fabdc13 Mon Sep 17 00:00:00 2001 From: Tom French Date: Sun, 15 May 2022 17:56:54 +0100 Subject: [PATCH] style: silence warning for empty function --- app-account.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app-account.js b/app-account.js index 3ef116e..cc40d85 100644 --- a/app-account.js +++ b/app-account.js @@ -8,7 +8,9 @@ let { getAccountDb } = require('./account-db'); let app = express(); app.use(errorMiddleware); -function init() {} +function init() { + // eslint-disable-previous-line @typescript-eslint/no-empty-function +} function hashPassword(password) { return bcrypt.hashSync(password, 12);