Badget
Badget copied to clipboard
Feature: Enable TS strictness
Type of feature
💡 Feature
Current behavior
TS is not in strict mode. This doesn't allow us to have strict checks. More importantly:
- We cannot enable some ESLINT recommended rules for typescript
- It is against the TRPC suggestions
Suggested solution
Enable the following in the @projectx/tsconfig/base.json:
...
"strict": true,
"noUncheckedIndexedAccess": true
...
Additional context
No response
Im open for it. If you want you can just change it for the next PR you make? Or you want me to take it?
Enabling strictness will likely require some modifications, so I would prefer to keep it separate from other jobs just to make PR more reviewable. If you have the time I will concentrate on the BE
Yes, i will do it. You focus on the BE ✨