Two new classes have been added: EnvUtils and MongodbService. EnvUtils provides functionality for fetching environment variables and logging them. MongodbService implements connection to MongoDB with user credentials fetched from environment variables. Additionally, some updates have been made to logs.util.ts to improve logging style and biome.json for better code standards adherence.
36 lines
626 B
JSON
36 lines
626 B
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
|
|
"organizeImports": {
|
|
"enabled": true
|
|
},
|
|
"files": {
|
|
"include": [
|
|
"./src/**/*.ts"
|
|
]
|
|
},
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git"
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"performance": {
|
|
"recommended": true,
|
|
"noDelete": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "warn"
|
|
},
|
|
"complexity": {
|
|
"useLiteralKeys": "off"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"indentStyle": "tab",
|
|
"indentWidth": 2,
|
|
"lineWidth": 80
|
|
}
|
|
} |