Skip to content

Commit 0d76e68

Browse files
committed
🔧 updated tsconfig
1 parent 69f3ec9 commit 0d76e68

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

biome.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"files": {
1010
"ignoreUnknown": true,
11-
"includes": ["**/*.{js,jsx,ts,tsx,json,jsonc,css}", "!*.min.*"]
11+
"includes": ["**/*", "!*.min.*"]
1212
},
1313
"formatter": {
1414
"enabled": true,
@@ -24,17 +24,13 @@
2424
"useImportType": "off"
2525
},
2626
"suspicious": {
27-
"noConsole": {
28-
"fix": "safe",
29-
"level": "warn",
30-
"options": { "allow": ["info", "warn", "error"] }
31-
},
3227
"noExplicitAny": "off",
3328
"noArrayIndexKey": "off"
3429
}
3530
}
3631
},
3732
"assist": {
33+
"enabled": true,
3834
"actions": { "source": { "organizeImports": "on" } }
3935
}
4036
}

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
2+
"$schema": "https://json.schemastore.org/tsconfig",
23
"compilerOptions": {
34
"esModuleInterop": true,
45
"lib": ["esnext", "dom", "dom.iterable"],
56
"module": "esnext",
7+
"moduleDetection": "force",
68
"moduleResolution": "bundler",
79
"noEmit": true,
810
"paths": { "@/*": ["./src/*"] },
911
"resolveJsonModule": true,
1012
"skipLibCheck": true,
1113
"strict": true,
12-
"target": "ES2020",
14+
"target": "ES2021",
1315
"types": ["bun", "node"]
1416
},
1517
"exclude": ["node_modules", "dist"],

0 commit comments

Comments
 (0)