Cook the Pasta: Boil salted water and cook pasta according to package instructions. Reserve ½ cup of pasta water before draining.
Sauté the Eggplant: Heat olive oil in a large pan over medium heat. Add diced eggplant and cook for 5-7 minutes until golden and soft.
Add Garlic & Tomatoes: Stir in garlic, red pepper flakes, and tomatoes. Simmer for 5-10 minutes until the sauce thickens. Season with salt and black pepper.
Combine with Pasta: Add the drained pasta to the pan, tossing to coat. If needed, add reserved pasta water to loosen the sauce.
Add Ricotta & Serve: Spoon ricotta on top, gently stirring to create creamy pockets. Garnish with fresh basil and Parmesan.