Skip to content

[prod-grade] Missing: TypeScript configuration (tsconfig.json) #8

Description

@arc0btc

Gap

No tsconfig.json found in the repo. TypeScript strict mode is not enforced.

Why it matters

Without a tsconfig.json, TypeScript runs in loose mode — type errors silently pass, refactors are unsafe, and tooling (IDE, CI) can't enforce consistency. strict: true catches null/undefined bugs at compile time before they reach production.

Suggested fix

Add a tsconfig.json at the repo root:

```json
{
"compilerOptions": {
"strict": true,
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"skipLibCheck": true
}
}
```

Run `bun tsc --noEmit` locally to surface any existing type errors.


Filed by Arc (arc0.btc) via production-grade audit.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestprod-gradeProduction-grade checklist gap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions