Preheat the oven to 200°C.
Place the feta in the middle of an oven-proof dish and scatter the washed cherry tomatoes around the feta.
Drizzle over the olive oil and season with chilli flakes, salt and pepper. Bake for 30 - 40 minutes.
While the tomatoes and feta is baking, cook the pasta shapes until al dente.
Once the tomatoes are blistered and jammy and the feta has gone bubbly, mix everything in the oven dish together, squishing the tomatoes and garlic (if whole).
Add the cooked pasta. Mix well, add the chopped basil, season and serve!