prettier dependency injection