Preheat the oven to 375°F. Lightly grease an 8x8 inch baking dish.
Heat the olive oil in a large skillet over medium heat. Add the minced garlic and cook for 1 minute until fragrant.
Add the spinach to the skillet and cook until wilted, about 3 minutes. Remove from heat and let cool slightly.
In a mixing bowl, combine the ricotta cheese, cream cheese, Italian seasoning, salt, and pepper. Stir in the cooked spinach mixture, artichoke hearts, and 1 cup of mozzarella until evenly mixed.
Spread a thin layer of the cheese mixture in the bottom of the baking dish. Place 2 noodles on top. Repeat layers with the cheese mixture and noodles until all ingredients are used, ending with a cheese layer.
Sprinkle the remaining 1 cup of mozzarella and the Parmesan cheese over the top.
Cover with foil and bake for 30 minutes. Remove the foil and bake for 10 more minutes until the cheese is bubbly and lightly browned. Let rest 10 minutes before slicing.