01 -
Preheat oven to 400°F. In a large ovenproof skillet or medium baking dish, combine tomatoes, shallot, garlic, and all but 1 tablespoon of olive oil. Season with kosher salt and crushed red pepper flakes, tossing to combine.
02 -
Place the block of feta into the center of the tomato mixture and drizzle with the reserved 1 tablespoon of olive oil. Scatter thyme sprigs over the tomatoes.
03 -
Bake in the oven until the tomatoes are bursting and the feta is golden on top, about 40 to 45 minutes.
04 -
Meanwhile, in a large pot of boiling salted water, cook the pasta, stirring occasionally, until al dente according to package directions. Reserve 1/2 cup of pasta water before draining.
05 -
To the skillet with the baked feta and tomatoes, add the cooked pasta, reserved pasta water, and lemon zest (if using). Stir until fully combined. Top with fresh basil leaves before serving.