style(biome): using biome for format, lint, check

This commit is contained in:
2025-11-08 12:58:40 +02:00
parent 075a388ccb
commit fdd1cbbfd5
152 changed files with 3737 additions and 3989 deletions
+12 -15
View File
@@ -1,21 +1,18 @@
{
"name": "@basango/logger",
"private": true,
"type": "module",
"main": "src/index.ts",
"types": "src/index.ts",
"scripts": {
"clean": "rm -rf .turbo node_modules",
"format": "biome format --write .",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"typecheck": "tsc --noEmit"
"dependencies": {
"pino": "^10.1.0",
"pino-pretty": "^13.1.2"
},
"devDependencies": {
"typescript": "catalog:"
},
"dependencies": {
"pino": "^10.1.0",
"pino-pretty": "^13.1.2"
}
"main": "src/index.ts",
"name": "@basango/logger",
"private": true,
"scripts": {
"clean": "rm -rf .turbo node_modules",
"typecheck": "tsc --noEmit"
},
"type": "module",
"types": "src/index.ts"
}
+3 -3
View File
@@ -5,14 +5,14 @@ export const logger = pino({
// Use pretty printing in development, structured JSON in production
...(process.env.NODE_ENV !== "production" && {
transport: {
target: "pino-pretty",
options: {
colorize: true,
translateTime: "HH:MM:ss",
hideObject: false,
ignore: "pid,hostname",
messageFormat: true,
hideObject: false,
translateTime: "HH:MM:ss",
},
target: "pino-pretty",
},
}),
});
+3 -3
View File
@@ -1,5 +1,5 @@
{
"extends": "@basango/typescript-config/base.json",
"include": ["src/**/*"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
"extends": "@basango/tsconfig/base.json",
"include": ["src/**/*"]
}