Redbrick interview question

How do you ensure code quality and maintainability in your projects?