Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 #19

Closed
wants to merge 2 commits into from
Closed

1 #19

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ import errorContstants from "#constants/error.js";
import { morgalApiLogger } from "#utils/logger.js";
import { setupTimeout, setupRateLimiter, setupCors, setupResponseInterceptor, setupErrorInterceptor, setupValidationErrorInterceptor } from "#middlewares/server.js";
import { syncDatabase, createSuperAdmin } from "#user/Service/database.js";
// import { scheduleInit } from "#scheduler/Service/schedulerService.js";
import { scheduleInit } from "#scheduler/Service/schedulerService.js";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'scheduleInit' is defined but never used.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <quotes> reported by reviewdog 🐶
Strings must use singlequote.

Suggested change
import { scheduleInit } from "#scheduler/Service/schedulerService.js";
import { scheduleInit } from '#scheduler/Service/schedulerService.js';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <semi> reported by reviewdog 🐶
Extra semicolon.

Suggested change
import { scheduleInit } from "#scheduler/Service/schedulerService.js";
import { scheduleInit } from "#scheduler/Service/schedulerService.js"

const app = express();
console.log(a)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <no-undef> reported by reviewdog 🐶
'a' is not defined.

console.log(b)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <no-undef> reported by reviewdog 🐶
'b' is not defined.

console.log("a" )

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <quotes> reported by reviewdog 🐶
Strings must use singlequote.

Suggested change
console.log("a" )
console.log('a' )

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <no-multi-spaces> reported by reviewdog 🐶
Multiple spaces found before ')'.

Suggested change
console.log("a" )
console.log("a" )

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <space-in-parens> reported by reviewdog 🐶
There should be no space before this paren.

Suggested change
console.log("a" )
console.log("a")

console

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <no-unused-expressions> reported by reviewdog 🐶
Expected an assignment or function call and instead saw an expression.


if (process.env.PRINT_ENV == "true") {
console.debug("======================ENV======================");
Expand Down
Loading