TypeScript Strict Mode Disabled
Description
Disabled TypeScript strict mode flags weaken type safety and allow null/undefined errors, implicit any types, and unsafe function parameters that lead to runtime vulnerabilities.
What Shoulder detects
How to fix
Enable strict mode in tsconfig.json.
```json
{
"compilerOptions": {
"strict": true
}
}
```
Learn more: https://shoulder.dev/learn/typescript/cwe-704/strict-mode-violations
Applies to
Languages
Frameworks
typescript
References
Scan for this issue
Detect with Shoulder CLI
npx @shoulderdev/cli trust --rule=typescript-strict-mode-violations .