style: silence warning for empty function

This commit is contained in:
Tom French 2022-05-15 17:56:54 +01:00 committed by James Long
parent 592f0540f9
commit 8dbc10efd7

View file

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