chore: add .editorconfig, clean up package.json, enable strict ts flags

This commit is contained in:
2026-06-12 15:39:30 +08:00
parent a9d35d03f2
commit 68597c0c24
3 changed files with 16 additions and 10 deletions
+3 -5
View File
@@ -5,8 +5,6 @@
"target": "ESNext",
"module": "Preserve",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
"types": ["bun"],
// Bundler mode
@@ -23,8 +21,8 @@
"noImplicitOverride": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
"noUnusedLocals": true,
"noUnusedParameters": true,
"noPropertyAccessFromIndexSignature": true
}
}