Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

remove console.log statements

Amruth Pillai198c269790e1
diff --git a/.eslintrc.json b/.eslintrc.json
index dac8cb293..67f3211c3 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -9,6 +9,7 @@
"plugins": ["simple-import-sort", "unused-imports"],
"rules": {
// eslint
+ "no-console": "error",
"no-return-await": "off",
// simple-import-sort
diff --git a/apps/client/src/libs/lingui.ts b/apps/client/src/libs/lingui.ts
index ccddc1743..ab62ff76c 100644
--- a/apps/client/src/libs/lingui.ts
+++ b/apps/client/src/libs/lingui.ts
@@ -18,6 +18,7 @@ export async function dynamicActivate(locale: string) {
dayjs.locale(await dayjsLocales[locale]());
}
} catch (error) {
+ // eslint-disable-next-line no-console
console.error(error);
}
}
diff --git a/apps/server/src/mail/mail.service.ts b/apps/server/src/mail/mail.service.ts
index 7d483507a..9260a9316 100644
--- a/apps/server/src/mail/mail.service.ts
+++ b/apps/server/src/mail/mail.service.ts
@@ -14,8 +14,6 @@ export class MailService {
async sendEmail(options: ISendMailOptions) {
const smtpUrl = this.configService.get("SMTP_URL");
- console.log(smtpUrl);
-
// If `SMTP_URL` is not set, log the email to the console
if (!smtpUrl) {
Logger.log(options, "MailService#sendEmail");
diff --git a/apps/server/src/printer/printer.service.ts b/apps/server/src/printer/printer.service.ts
index e26667eee..262a89997 100644
--- a/apps/server/src/printer/printer.service.ts
+++ b/apps/server/src/printer/printer.service.ts
@@ -204,6 +204,7 @@ export class PrinterService {
return resumeUrl;
} catch (error) {
+ // eslint-disable-next-line no-console
console.trace(error);
}
}