planmode
← Back to packages

typescript-strict

rule

Strict TypeScript configuration rules for safer, more maintainable code

planmode install typescript-strict

Content

- Always enable strict mode in tsconfig.json
- Use explicit return types on exported functions
- Prefer `unknown` over `any`
- Use discriminated unions over optional properties
- Enable noUncheckedIndexedAccess