chore: run lint & prettier on everything

This commit is contained in:
Alessio Gravili
2024-03-14 23:53:47 -04:00
parent 051fdfb081
commit 6789e61488
695 changed files with 7321 additions and 5142 deletions

View File

@@ -1,8 +1,8 @@
module.exports = {
printWidth: 100,
parser: "typescript",
parser: 'typescript',
semi: false,
singleQuote: true,
trailingComma: "all",
arrowParens: "avoid",
};
trailingComma: 'all',
arrowParens: 'avoid',
}

View File

@@ -8,23 +8,23 @@
export interface Config {
collections: {
users: User;
};
globals: {};
users: User
}
globals: {}
}
export interface User {
id: string;
firstName?: string;
lastName?: string;
roles?: ('admin' | 'user')[];
updatedAt: string;
createdAt: string;
email: string;
resetPasswordToken?: string;
resetPasswordExpiration?: string;
salt?: string;
hash?: string;
loginAttempts?: number;
lockUntil?: string;
password?: string;
id: string
firstName?: string
lastName?: string
roles?: ('admin' | 'user')[]
updatedAt: string
createdAt: string
email: string
resetPasswordToken?: string
resetPasswordExpiration?: string
salt?: string
hash?: string
loginAttempts?: number
lockUntil?: string
password?: string
}

View File

@@ -1,8 +1,8 @@
module.exports = {
printWidth: 100,
parser: "typescript",
parser: 'typescript',
semi: false,
singleQuote: true,
trailingComma: "all",
arrowParens: "avoid",
};
trailingComma: 'all',
arrowParens: 'avoid',
}

View File

@@ -8,23 +8,23 @@
export interface Config {
collections: {
users: User;
};
globals: {};
users: User
}
globals: {}
}
export interface User {
id: string;
firstName?: string;
lastName?: string;
roles?: ('admin' | 'user')[];
updatedAt: string;
createdAt: string;
email: string;
resetPasswordToken?: string;
resetPasswordExpiration?: string;
salt?: string;
hash?: string;
loginAttempts?: number;
lockUntil?: string;
password?: string;
id: string
firstName?: string
lastName?: string
roles?: ('admin' | 'user')[]
updatedAt: string
createdAt: string
email: string
resetPasswordToken?: string
resetPasswordExpiration?: string
salt?: string
hash?: string
loginAttempts?: number
lockUntil?: string
password?: string
}

View File

@@ -1,5 +1,4 @@
build
dist
node_modules
package-lock.json
.env
package - lock.json.env

View File

@@ -1,8 +1,8 @@
module.exports = {
printWidth: 100,
parser: "typescript",
parser: 'typescript',
semi: false,
singleQuote: true,
trailingComma: "all",
arrowParens: "avoid",
};
trailingComma: 'all',
arrowParens: 'avoid',
}