Added eslintrc config and updated all files to it
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
const { Schema, model } = require('mongoose');
|
||||
const { Schema, model } = require("mongoose")
|
||||
|
||||
const guildAppSchema = new Schema({
|
||||
_id: Schema.Types.ObjectId,
|
||||
userID: { type: String, required: true },
|
||||
uuid: { type: String, required: true },
|
||||
});
|
||||
})
|
||||
|
||||
module.exports = model('guildapp', guildAppSchema, 'guildapp');
|
||||
module.exports = model("guildapp", guildAppSchema, "guildapp")
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
const { Schema, model } = require('mongoose');
|
||||
const { Schema, model } = require("mongoose")
|
||||
|
||||
const staffAppSchema = new Schema({
|
||||
_id: Schema.Types.ObjectId,
|
||||
userID: { type: String, required: true },
|
||||
uuid: { type: String, required: true },
|
||||
});
|
||||
})
|
||||
|
||||
module.exports = model('staffapp', staffAppSchema, 'staffapp');
|
||||
module.exports = model("staffapp", staffAppSchema, "staffapp")
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
const { Schema, model } = require('mongoose');
|
||||
const { Schema, model } = require("mongoose")
|
||||
|
||||
const verifySchema = new Schema({
|
||||
_id: Schema.Types.ObjectId,
|
||||
userID: { type: String, required: true },
|
||||
uuid: { type: String, required: true },
|
||||
});
|
||||
})
|
||||
|
||||
module.exports = model('verify', verifySchema, 'verify');
|
||||
module.exports = model("verify", verifySchema, "verify")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const { Schema, model } = require('mongoose');
|
||||
const { Schema, model } = require("mongoose")
|
||||
|
||||
const waitinglistSchema = new Schema({
|
||||
_id: Schema.Types.ObjectId,
|
||||
@@ -6,6 +6,6 @@ const waitinglistSchema = new Schema({
|
||||
uuid: { type: String, required: true },
|
||||
IGN: { type: String, required: true },
|
||||
timestamp: { type: String, required: true }
|
||||
});
|
||||
})
|
||||
|
||||
module.exports = model('waitinglist', waitinglistSchema, 'waitinglist');
|
||||
module.exports = model("waitinglist", waitinglistSchema, "waitinglist")
|
||||
|
||||
Reference in New Issue
Block a user