You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is easy to make mistakes with configuration in the current codebase e.g. CSP headers.
Migrate config.ts to use Convict and its validation features for configuration management.
Additionally, explore whether configuration code can rely on TypeScript enums or String literal types so that the compiler will be able to type-check whether an incorrect value potentially results from a bug in this file.
The text was updated successfully, but these errors were encountered:
It is easy to make mistakes with configuration in the current codebase e.g. CSP headers.
Migrate
config.ts
to use Convict and its validation features for configuration management.Additionally, explore whether configuration code can rely on TypeScript enums or String literal types so that the compiler will be able to type-check whether an incorrect value potentially results from a bug in this file.
The text was updated successfully, but these errors were encountered: