mirror of
https://github.com/prompt-security/clawsec.git
synced 2026-06-22 01:41:20 +03:00
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:
@@ -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 {};
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user