greenfield project
A brand-new project with no existing code, so you can choose the strictest settings from the start.
In more detail
The opposite is a brownfield project, where old code must keep working. Strict settings are cheapest to adopt on day one, because turning them on later means fixing many errors at once.
Example
Enable "strict": true in tsconfig.json on every greenfield TypeScript projectRelated terms
- strict (compiler option) — The strict compiler option, which turns on a family of stronger checks such as strictNullChecks and noImplicitAny in one setting.
Taught in
- tsconfig.json: target, lib, strict And NodeNext — Production TypeScript