Boil the pasta. Bring a large pot of well-salted water to a boil. Cook the pasta until just shy of al dente, 1–2 minutes less than package directions.
Reserve 1 cup of the starchy water, then drain.
Warm the aromatics. In a large skillet, heat the olive oil over medium. Add the garlic and red pepper flakes. Cook 30–60 seconds until fragrant and just turning golden at the edges—don’t let the garlic brown.
Add the tomatoes and artichokes. Stir in the sun-dried tomatoes and artichoke hearts.
Cook for 2–3 minutes to heat through. If it looks dry, add a spoonful of the reserved tomato oil or a splash more olive oil.
Deglaze. Pour in the white wine (or broth). Scrape up any browned bits from the pan and let it simmer for 1–2 minutes until slightly reduced.
Build the sauce. Add the drained pasta to the skillet.
Pour in 1/2 cup of the reserved pasta water and toss vigorously. The starch will help emulsify the oil and wine into a silky sauce.
Finish with flavor. Turn off the heat. Stir in lemon zest, lemon juice, and Parmesan.
Toss until the cheese melts and the sauce clings. If needed, add more pasta water a splash at a time to loosen. Season with salt and black pepper to taste.
Herbs and serve. Fold in the basil (and capers or parsley if using).
Plate with extra Parmesan and a drizzle of good olive oil.