I think this would vary a lot between "real" code basis. I have had a lot of success when using somewhat stricter frameworks, with typed interfaces, and requiring well defined unit tests, and modules which ecapsulate a lot of logic.
Basically like Java Spring Boot or NestJS type projects.
Basically like Java Spring Boot or NestJS type projects.