architecture-as-code
architecture-as-code copied to clipboard
Enable Strict Mode for Node Projects
Our node projects don't all have strict mode enabled. This is a highly recommended flag to enable as it adds better checks for program correctness and leads to better quality code.
As a result of not having this enabled, there are bound to be a lot of issues to fix once we enable it, but this problem will only get worse as time goes on.
In the tsconfig.json, we need to add "strict": true
#1493 briefly discussed this issue and agreed it is important. Knowing whether 'strict' mode can be enabled at a module level would be beneficial, as will moving some of the widget functionality out of shared.