auto-claude: subtask-1-2 - Create TypeScript configuration

- Add tsconfig.json with Node.js ESM configuration
- Target ES2022, strict mode enabled
- Support .ts, .mts, and .mjs files
- Include placeholder lib/types.ts for compilation verification
- Configuration ready for phase 2 implementation
This commit is contained in:
David Abutbul
2026-02-27 20:43:11 +02:00
parent e3e9b5c33b
commit fa6970a478
2 changed files with 37 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
/**
* Type definitions for clawsec-analyst skill
* Placeholder - will be populated in phase 2 (subtask-2-1)
*/
// Ensure this file is treated as a module
export {};
+30
View File
@@ -0,0 +1,30 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"lib": ["ES2022"],
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"types": ["node"]
},
"include": [
"**/*.ts",
"**/*.mts",
"**/*.mjs"
],
"exclude": [
"node_modules",
"dist"
]
}