Heat olive oil in a large pan over medium heat. Add the diced eggplant and cook until golden and soft, about 10 minutes.
Stir in the garlic and chili flakes. Cook for 1 minute until fragrant.
Add the sun-dried tomatoes and pasta. Pour in the broth and stir everything together.
Bring to a boil, then lower the heat and let it simmer uncovered for about 12-14 minutes, or until the pasta is al dente. Stir often so the pasta doesn’t stick.
Once cooked, turn off the heat and gently fold in the ricotta. Season with salt and pepper.
Top with fresh basil and a generous shower of parmesan. Serve warm.