Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Rule - Force strictNullChecks in tsconfig file #53

Open
Ludo171 opened this issue Aug 23, 2023 · 1 comment
Open

New Rule - Force strictNullChecks in tsconfig file #53

Ludo171 opened this issue Aug 23, 2023 · 1 comment
Labels
KPI 1 - Prevent many bugs Cover a lot of potential bugs p3

Comments

@Ludo171
Copy link
Collaborator

Ludo171 commented Aug 23, 2023

We need to force the setting strictNullChecks: true in any file called 'tsconfig.ts' or 'tsconfig.json' in all our typescript projects, otherwise the typing does not consider the types undefined. and null.... which is very bug-prone.

@bilmans bilmans added the KPI 1 - Prevent many bugs Cover a lot of potential bugs label Aug 24, 2023
@Ludo171 Ludo171 added p2 Priorité 2 - (medium) p3 and removed p2 Priorité 2 - (medium) labels Aug 25, 2023
@Ludo171
Copy link
Collaborator Author

Ludo171 commented Nov 8, 2023

Maybe we want to kill this bug in a simpler manner :

  • This rule should definitely be activated from the start of a project and will be difficult to set after some time of dev
  • We could include this in our boilerplates ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
KPI 1 - Prevent many bugs Cover a lot of potential bugs p3
Projects
None yet
Development

No branches or pull requests

2 participants