Add eslint rule and fix as many issues as possible

This commit is contained in:
Khoa Le
2023-06-19 23:42:04 -04:00
parent e9eacc445d
commit 9d33e4756b
689 changed files with 9446 additions and 21821 deletions
+6 -6
View File
@@ -1,4 +1,4 @@
import { Schema, model, Types } from 'mongoose';
import { Schema, Types, model } from "mongoose";
export interface IOrganization {
_id: Types.ObjectId;
@@ -10,17 +10,17 @@ const organizationSchema = new Schema<IOrganization>(
{
name: {
type: String,
required: true
required: true,
},
customerId: {
type: String
}
type: String,
},
},
{
timestamps: true
timestamps: true,
}
);
const Organization = model<IOrganization>('Organization', organizationSchema);
const Organization = model<IOrganization>("Organization", organizationSchema);
export default Organization;