Added eslintrc config and updated all files to it

This commit is contained in:
2023-11-22 23:50:21 +01:00
parent 10771fd04e
commit 3d4fc1fccb
70 changed files with 1276 additions and 1234 deletions

View File

@@ -1,9 +1,9 @@
const { Schema, model } = require('mongoose');
const { Schema, model } = require("mongoose")
const settingsSchema = new Schema({
_id: Schema.Types.ObjectId,
name: { type: String, required: true },
value: { type: String, required: true },
});
})
module.exports = model('settings', settingsSchema, 'settings');
module.exports = model("settings", settingsSchema, "settings")