Upload files to "/"
All checks were successful
Code quality / quality (push) Successful in 4s

This commit is contained in:
creations 2025-04-10 11:57:56 +02:00
parent afd420408a
commit eedae406c3
2 changed files with 47 additions and 0 deletions

35
biome.json Normal file
View file

@ -0,0 +1,35 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"ignore": []
},
"formatter": {
"enabled": true,
"indentStyle": "tab",
"lineEnding": "lf"
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"indentStyle": "tab",
"lineEnding": "lf",
"jsxQuoteStyle": "double",
"semicolons": "always"
}
}
}

12
index.ts Normal file
View file

@ -0,0 +1,12 @@
import { logger } from "@helpers/logger";
import { serverHandler } from "@/server";
async function main(): Promise<void> {
serverHandler.initialize();
}
main().catch((error: Error) => {
logger.error(["Error initializing the server:", error]);
process.exit(1);
});